Jump to content

[SOLVED] doy you know why this would happen?


Recommended Posts

Go to ptcrpg.awardspace.com/ranks.php and go to the bottom. Do you know what would cause that? It happens to every last pokemon on list, even if I delete some.

 

Heres the code

 

<?PHP
include('Connect.php');
include('top.php');
$result = mysql_query("SELECT * FROM pokemon_info ORDER BY pokemon_level DESC");
     while($row = mysql_fetch_array($result)){
echo "<table border='1' height='20' bgcolor='lightgrey'>";
echo "<br />";
echo "<tr>";
echo "<td><b>Level:  </b><br /></td><td><b>Icon: </b></td></tr>";
echo "<tr><td><a href='viewprofiles.php?id=" . $row['user_id'] .  "'>" . $row['pokemon_level'] . "</center></td><center><td><a href='viewprofiles.php?id=" . $row['user_id'] . "'><img border='0' src='" . $row['pokemon_icon'] . "</td></tr>";
echo "</table>";
}
include('bottom.php');
?>

 

 

Please help.

<?php
include('Connect.php');
include('top.php');
$result = mysql_query("SELECT * FROM pokemon_info ORDER BY pokemon_level DESC");
     while($row = mysql_fetch_array($result)){
echo "<table border='1' height='20' bgcolor='lightgrey'>";
echo "<br />";
echo "<tr>";
echo "<td><b>Level:  </b><br /></td><td><b>Icon: </b></td></tr>";
echo "<tr><td><a href='viewprofiles.php?id=" . $row['user_id'] .  "'>" . $row['pokemon_level'] . "</center></td><center><td><a href='viewprofiles.php?id=" . $row['user_id'] . "'><img border='0' src='" . $row['pokemon_icon'] . "'></td></tr>"."\n";
echo "</table>";
}
include('bottom.php');
?>

you dont properly encode your html see this line i found in your page

 

<img border='0' src='http://i13.tinypic.com/6l2w8l2.png</td></tr></table><br>

maybe change it to

<img border='0' src='http://i13.tinypic.com/6l2w8l2.png'</td></tr></table><br>

 

or check if you have close every tags.. its hard to read the page source you don't align/ format them well

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.