hi there --
i'm hoping one of you helpful members out there will be able to point me in the right direction.
i'm working an office server to test my site on.
i can't seem to get queries working alright?
apache is working ok, and is working with the debian set up fine - mysql works great from the command line
php works fine and by connecting to
http://10.0.0.20/beyondtv/
the site looks great
I can connect to the mysql database ok, i've got the following script for my queries -
$connection = mysql_connect("localhost", "mickfuzz", password")
or die ("couldn't connect to server");
$db = mysql_select_db("btv23org", $connection) or die ("couldn't select databass");
$sql= "select username, password from btv_userdetails where username = '$username'";
$result= mysql_query($sql,$connection) or die ("couldn't execute main query");
so i don't get a connection error or a an error electing the database, it's only the final instruction that gives an error.
i've had a look a the permissions and they are set at read for all -
the same errors are generated site wide, and i've checked a few of them by connected by the command line,
any ideas?