$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 update > > > > echo $row[$x] ; > > > > $x++ ;// > > } -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php