Re: need help with "SHOW Colums"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




$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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux