<?PHP $conn = mysql_connect(“mysql.host.com”,“username”,“password”); mysql_select_db(“database”,$conn); ?> Code (markup): Parse error: syntax error, unexpected T_DNUMBER in /home/******/public_html/config.php on line 4 Anyone have any ideas what is causing this? I've tried enclosing everything in the other kind of quotations and assigning variables and putting that into the function but I'm stumped on why this is coming out this way.
I have some coding on there I don't want to be available to anyone I don't know, so thank you but no.
Best way to code is use Text Editor like Notepad++ or PSPAD. You can also use IDE like eclipse for PHP
if you allow me some advice, I recommend you use the mysqli_connect function instead of mysql_connect (this is deprecated).