I really suggest you do a little homework and read the tutorials in both the php and mysql manuals. They are really valuable and should give you the examples you need.
Maintainer IPPlan (https://sourceforge.net/projects/iptrack/) sql Gary Lefko wrote: > Can someone writ eme an example of getting a field name form my Mysql > database? > > I have a table with fields A, B, C > > I query the database then ask: > if field A == 1 then print field name else do nothing. > > Thanks > --------------------------------------------------------------------- Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMAIL PROTECTED]> To unsubscribe, e-mail <[EMAIL PROTECTED]> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php