I wrote this code and I ran it on my browser, I get the output as 'not executed'.
I use PHP 5.3 version.
I have already checked out a lot of posts but I seem to figure this error out. 
and I also tried to use mysqli functions but that also won't work. Please help me figure this out please.
<?php
require 'connect.php';
$query="SELECT * FROM 'masu'";
if($is_query_run=mysql_query($query))
{
    echo 'Query executed';
    while($query_execute=mysql_fetch_array($is_query_run))
    {
         echo "excuted";
    }
}
else
{
    echo "not executed";
}
?>
The code for connect.php is here :
<?php
$mysql_host='localhost';
$mysql_user='root';
$mysql_password='masu';
$con=mysql_connect($mysql_host, $mysql_user,$mysql_password);
if(!@mysql_connect($mysql_host, $mysql_user,$mysql_password))
{
    die('Cannot connect to database');
}
else
{
    if(@mysql_select_db('masudha'))
    {
    //  echo 'connection success with masu';
    }
    else
    {
        die('cannot connect to database');
    }
}
?>
 
     
    