Jump to content

Need a little help with my script :D Thanks


spelman07

Recommended Posts

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.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.