penagate i do not think the above code will help me since i got over 200 php and html mixed lines of code and displaying diffrent tables for each type of search output and just puting that inside while loop will not make my program to work!! I get tones of errrors :-((.
I was looking for solution just like break used in switch whenever error occoured or either s or m was empty but apperently i do not get such solution!!!
I got html and php mixed code before while loop and inside while loop and after while loop to display proper table for each type of search type output .Also no connection infor in u code such as this :
PHP Code:// change below is your assigned mySQL username
$user = "root";
// change to the pw below is your assigned mySQL password
$pw = "";
// change to the database you have permission to connect to
$db = "test";
//mysql_connect("localhost", "root", "");
$mysql_access = mysql_connect("localhost", $user, $pw);
mysql_select_db($db, $mysql_access);
if (! mysql_select_db($db, $mysql_access)) {
echo(mysql_error());
die;
}
.....
.....
.....




Reply With Quote