$construct .="keywords LIKE '%$search_each%'";
$run = mysql_query($construct);
$foundnum = mysql_num_rows($run);

i wont to know what display $construct??
i wont to know what is the function of mysql_query and what mean this ($construct);
i wont to know what is the function of mysql_num_rows what can it do
Member Avatar

mysql_query - see the php manual
mysql_num_rows - see the php manual
The $construct is a mysql substring which cannot work by itself - it must be part of a bigger query.

Please do some of your own research before posting blindly - 2 of your questions could be answered immediately with a little searching.

Did you searched (googled) what is mysql_query before asking here ? … You say that you want to understand … that is a big step , but search before asking and if there is something than that you don’t understand we are here for you. (by the way PHP has a great database access object oriented interface named PDO)