perfectly.flawed Posted February 16, 2008 Share Posted February 16, 2008 Ok so I have looked over this code repeatedly, read forums discussing similar topics, compared it with other codes to try and find possible problems --- ALL with no luck :'( So I am still receiving the following error: "Parse error: syntax error, unexpected '<' in /index.php on line 15" If anyone could please help me solve this error it would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
nogray Posted February 16, 2008 Share Posted February 16, 2008 You can't include HTML directly in your PHP, you need to use echo this <table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top"> should be this echo '<table border="0" width="100%" cellspacing="5" cellpadding="2"><tr><td class="main" valign="top">' Quote Link to comment Share on other sites More sharing options...
perfectly.flawed Posted February 16, 2008 Author Share Posted February 16, 2008 ok so I did that and now I am not receiving that specific error, but I am receiving a new one Parse error: syntax error, unexpected ')', expecting ',' or ';' in /index.php on line 15 So obviously I don't have only one problem with this script. I didn't even write the script, I added a little tiny part of it without removing anything. That 'echo' thing was NOT there before.. so apparently now I have a bracket somewhere it shouldn't be. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.