Re: Re: how can i get field-informationof a table?

From: Date: Fri, 24 May 2002 09:57:49 +0000
Subject: Re: Re: how can i get field-informationof a table?
References: 1 2  Groups: php.db 
Request: Send a blank email to php-db+get-19415@lists.php.net to get a copy of this message
On Friday 24 May 2002 17:09, Stephen Rhodes wrote: > use the function mysql_list_fields in url > http://www.php.net/manual/en/function.mysql-list-fields.php I'm sure you meant: mssql_fetch_field() > "Hermann Otteneder" <h.otteneder@gerstl.at> wrote in message > news:20020524085611.69085.qmail@pb1.pair.com... > > > hi, > > i'm using a mssql-database. now i want update a record with the > > information > > > given in a form. i want use the following sql statement: > > $SQL = "update <tablename> set '<fieldarray[$index]>' = > > 'HTTP_POST_VARS[$index]' WHERE PKID = 'HTTP_POST_VARS[0]'"; > > mssql_query($SQL); > > > > my problem is i cannot find a function which gives me an array of the > > fields > > > of a table -> <fieldarray[$index]> > > > > I guess this is for sure very simple - haves anyone the solution? i would -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* An idea is not responsible for the people who believe in it. */

« previous php.db (#19415) next »