Oct 8, 2003 #1 hos2 Programmer May 6, 2002 418 NL Is it possible that from a query select I can also get the fieldnames that are in the resultlist instead of the values of the result ?? I want to use this in order to dynamicly put all the values in a variable corresponding there fieldname in the database !
Is it possible that from a query select I can also get the fieldnames that are in the resultlist instead of the values of the result ?? I want to use this in order to dynamicly put all the values in a variable corresponding there fieldname in the database !
Oct 8, 2003 #2 sleipnir214 Programmer May 6, 2002 15,350 US What programming language are you using? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
What programming language are you using? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!
Oct 8, 2003 Thread starter #3 hos2 Programmer May 6, 2002 418 NL php mysql , I have found the mysql_fetch_field but I think it's the wrong one. or does this question belong now in the php section ??? Upvote 0 Downvote
php mysql , I have found the mysql_fetch_field but I think it's the wrong one. or does this question belong now in the php section ???
Oct 8, 2003 #4 sleipnir214 Programmer May 6, 2002 15,350 US Have you looked at mysql_fetch_assoc() (http://php.he.net/manual/en/function.mysql-fetch-assoc.php)? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
Have you looked at mysql_fetch_assoc() (http://php.he.net/manual/en/function.mysql-fetch-assoc.php)? Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!