Jump to content

Recommended Posts

I don't understand it, its 90% HTML and everything looks fine (checked the code thrice), yet it echos nothing.

[code]<?php
error_reporting(E_ALL);
include('includes/header.php');
?>
<table border="1" style="border-collapse: collapse" width="100%">
<tr>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
</tr>
<tr>
<td>There are 0 PS3 game reviews</td>
<td>There are 0 Wii game reviews</td>
<td>There are
<?php
pid="32";
include('includes/numberofreviews.php');
?>
Xbox 360 game reviews</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
</tr>
<tr>
<td>There are
<?php
pid="12";
include('includes/numberofreviews.php');
?>
PS2 game reviews</td>
<td>There are
<?php
pid="14";
include('includes/numberofreviews.php');
?>
GameCube game reviews</td>
<td>There are
<?php
pid="13";
include('includes/numberofreviews.php');
?>
Xbox game reviews</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
</tr>
<tr>
<td>PC</td>
<td>DS</td>
<td>PSP</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
<td><img src="images/reviewicons/reviews.gif"></td>
</tr>
<tr>
<td>GBA</td>
<td>Palm</td>
<td>DVD/UMD</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td><img src="images/reviewicons/reviews.gif"></td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>N-Gage</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
<?php
include('includes/footer.php');
?>[/code]
You might want to add "ini_set('display_errors', 'on')" to the top of the script to ensure that errors are shown. Adding "php_flag display_errors on" to a .htaccess file will show a few more errors that won't be shown if you use ini_set() to turn the option on however.

[code]
php_flag display_errors on
[/code]
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.