Re: [PHP-DB] need help with SHOW Colums

2002-10-31 Thread 1LT John W. Holmes
So show us the code that you tried with. This code doesn't do us any good because it's not causing the error. ---John Holmes... - Original Message - From: David Rice [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 31, 2002 11:31 AM Subject: [PHP-DB] need help with SHOW

Re: [PHP-DB] need help with SHOW Colums

2002-10-31 Thread rolf vreijdenberger
$table=user; $query = SHOW COLUMNS FROM $user ; $result = mysql_query ( $query ) or die( mysql_error () ); while ( $row = mysql_fetch_array ($result) ){ $x = 0 ;// i don't know what you're trying to do here, but it's wrong!! It keeps resetting$x to zero and does nothing with the