how can i get field-informationof a table?

From: Date: Fri, 24 May 2002 08:56:10 +0000
Subject: how can i get field-informationof a table?
Groups: php.db 
Request: Send a blank email to php-db+get-19413@lists.php.net to get a copy of this message
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 be very thankfuly for this! lg hermann

« previous php.db (#19413) next »