just found out and worked out the problem, i needed to put _2 at the end of my code as im using apache 2.2 and not 2.0
anyways im still having a problem. im trying to get the php file to connect to mysql database and then echo out connection made, but when looking at the file on ff it just shows a blank white page.
<?php
$db_host = "localhost";
$db_user = "adam";
$db_password = "something is here but have removed it for the forum";
$db_name = "db_01";
?>
anything wrong with that script? I have tried another which is a counter script and it's doing the same thing, just showing a white page. Surely if the connectino couln'dt be made it would echo out error connection?
Also out of curiousity, im doing all this for a website that is going to need counter, user logins. what im wondering is how do i get the settings i have set up on my pc on the server that will host my site? will i have to just redo another one?
sorry to seem a bit impaitient but does no one know what the problem is or atleast have a clue? Im really stuck with this and its holding me back so much.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.