Hi, when I try to use a SELECT statement in php, I get an error:
Resource id #18
<?php
include("include/session.php");
$get = mysql_query("SELECT value FROM settings WHERE id=2");
echo $get;
?>
The file session.php contains the database credentials .etc and it's correct.
But then when I try to echo $get, I get the error.
Why, I'm not sure and I'm still learning MySQL/PHP.
Please could someone help and thank you in advance for any replies.