use the function mysql_list_fields in url http://www.php.net/manual/en/function.mysql-list-fields.php
Cheers Steve "Hermann Otteneder" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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 > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php