Re: Re: Newbie lost in array

From: Date: Tue, 22 Jul 2003 13:28:42 +0000
Subject: Re: Re: Newbie lost in array
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-156226@lists.php.net to get a copy of this message
then try: $query = 'select * from yourTable where P_ref="somevalue"'; $result = mysql_query($query); while($row = mysql_fetch_assoc($result)) { $rows[] = $row; } var_export($rows); hth SVEN Tony Crockford wrote: >> hi tony, >> how is your table structured? is is a csv-file, a database, a >> html-table, >> ...? >> ciao SVEN > > Ooops! > > MySQL sorry

« previous php.general (#156226) next »