spelman07 Posted April 20, 2008 Share Posted April 20, 2008 when i upload the PHP script to my site it goes white here is a preview http://pastebin.com/m139d4a0 and here is where that exact code is uploaded http://halohunters.sc11.co.uk/members/roster.php Link to comment https://forums.phpfreaks.com/topic/101988-need-a-little-help-with-my-script-d-thanks/ Share on other sites More sharing options...
dptr1988 Posted April 20, 2008 Share Posted April 20, 2008 On line 55 you are not escaping your double quotes in a double quoted string: <?php // Bad line echo "<p align="left" class="style5">Moderators</p>"; // Corrected echo "<p align=\"left\" class=\"style5\">Moderators</p>"; // Or use single quotes echo '<p align="left" class="style5">Moderators</p>'; ?> Also you should turn on error reporting so that you will be able to see these errors. http://us2.php.net/error_reporting If you have PHP installed on your development computer you can run 'php -l yourfile.php' and it will print a list of sytax errors detected. Link to comment https://forums.phpfreaks.com/topic/101988-need-a-little-help-with-my-script-d-thanks/#findComment-521945 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.