Getting values

From: Date: Tue, 09 Apr 2002 12:37:41 +0000
Subject: Getting values
Groups: php.general 
Request: Send a blank email to php-general+get-92214@lists.php.net to get a copy of this message
http://kwister.dns2go.com/php/4.php?action=tables&database=mysql&table=user http://kwister.dns2go.com/php/4.txt Hi - I'm online for next few hours (I'll upload to a non PHP server when i go offline) basically ive had help, & fixed my script to show 4 rows of 17 columns each (Instead of 1 row of 1000 columns ;-) Now - Ive tried the mysql_fetch_field() & the mysql_field_seek(). commands http://www.php.net/manual/en/function.mysql-fetch-field.php However in the example - the person KNOWS the names of the columns eg... blob: $meta->blob max_length: $meta->max_length multiple_key: $meta->multiple_key name: $meta->name BUT - How do i 'retrieve' thevalues of the table if I DONT know the name of each column.. Eg.. If i want to see Column 7, & Row 5, - the value is 3. Column 3 row 2 = Fred etc... How can i do this ? G.

« previous php.general (#92214) next »