Hi vicodin ,
Thaks for reply . I understood but still little doubt when i am put database connection script like connection.inc.php. where can i include this file for whole project and how it is possible.
Thanks
Arun
Hi Barand,
Thanks for replied., its working i am correct the space after from and before where..
And one More what is .inc or .inc.php file and why they use..
Thanks
Arun
Hai guys.,
Now i am creating a shopping cart but we had this
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/mastern/public_html/newadmin/login.php on line 13
This is the script
$result = mysql_query("select * from" . ADMIN_LOGIN . "where email='$email' and password = '$pass'");
$res = mysql_fetch_array($result);
$ad_user = $res['user'];
$ad_pass = $res['password'];
Thanks all
Arun
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.