include 'connect.php';
msql_select_db("u972015033_jobss"); or die("Could not find DB");
if(isset($_POST['search'])){
    $searchq = $_POST['search'];
    $query = msql_query("SELECT * FROM job_search WHERE job_name LIKE '%$searchq%'"); or die("Could not find");
    $count = mysql_num_rows($query);
    if($count == 0){
        $output = 'There was no results found';
        else{
            while($row = mysql_fetch_array($query)){
                $jobname = $row['job_name'];
                $jobdesc = $row['job_desc'];
                $jobcomp = $row['job_company'];
                $output .= '<div> '.$jobname.' '.$jobdesc.' '.$jobcomp.'</div>';
                echo = "$output";
            }
        }
    }
}
I dont know what is the problem please help Its a basic script to query a database and display the output
 
    