Since there are a relative low number of entires in your database, you can simply grab all the rows and then use php to search if "A380" is found in field 1 with strpos($each_row, $searching_for) command.
something along the lines of:
PHP Code:
//connect to database
$results = mysql_query (SELECT * FROM table_name); while ($row = mysql_fetch_array ($results)) { if (strpos($row[0], "A380") <> false) { print ($row[0]); //or whatever you want to do here with that entry } }
There might be a way to do in mysql so you don't have to import the entire table, but I don't know how
Last edited by Nahele; 11-17-2005 at 08:28 AM..
|