This is my search query , if there is no result match , how can i display error ,
please help
$sql="SELECT * FROM course WHERE course_name LIKE '%" . $search_name . "%'";
//-run the query against the mysql query function
$result=mysql_query($sql);
1 Answer