I'm trying to install a script. New to this, actually. This error keeps coming up. Parse error: syntax error, unexpected T_STRING in /home/myusername/public_html/newscript/conn.php on line 2 This is my conn.php file. What am I doing wrong? Thanks. <?php MySQL® Database Wizard //enter your MySQL database host name, often it is not necessary to edit this line $db_host = "localhost";
Comment out the 2nd line with "//": <?php //MySQL® Database Wizard //enter your MySQL database host name, often it is not necessary to edit this line $db_host = "localhost"; Code (markup):
Thanks...Please say it in plain English. I'm a complete lefthanded noob. Kindly explain or copy and paste here what you mean..sorry I'm totally new to this. Willing to learn. //enter your MySQL database host name, often it is not necessary to edit this line $db_host = "localhost";
Put "//" in front of the 2nd line, which contains "MySQL® Database Wizard". This is just text, not actual code, so we need to tell PHP not to process it by adding "//" in front of it.