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 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php