- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
$sql_query_result = mysql_query("select * from Organisations
inner join Goods on (Organisations.ID = Goods.OrgID)
where 1");
while($result_string = mysql_fetch_array($sql_query_result)) { array_push ($search_array, $result_string[3]); }
for($i=0;$i<=count($search_array);$i++)
{
if(eregi($search_string, $search_array[$i]))
{
array_push($search_matches, $search_array[$i]);
}
}