ok im getting an error...
Parse error: parse error, unexpected T_STRING in /home/httpd/vhosts/heismy.com/httpdocs/search.php on line 4
this code is before the html tags
<?php
$search_string=$_POST['search'];
mysql_connect("localhost","user","pass")
mysql_select_db("store"); < line 4>
mysql_query("select * from products where text_column LIKE '%$search_string%' ");
?>
this is in between the html tags
<?
echo "<TABLE>\n";
while( ($row=mysql_fetch_array($result)!==FALSE )
{
echo "<TR>";
foreach( $row as $s )
{
echo "<TD>$s</TD>"
}
echo "</TR>\n";
}
echo "</TABLE>";
?>
any help would be great.
mike