Hi, not sure if this is the right place to be posting this - but fingers crossed.
I've got a bit of a problem. I've got a page which returns the results of a search, which has both php and html on. I've using a template so it normally works fine, but this time, my page shows none of the html that comes after the last bit of php.
I can't for the life of me work out what might be causing this. If anyone has any ideas then I would be very grateful!
Here is the last bit of code incase that helps:
<?php
$result = mysql_query("SELECT register.* FROM register, temp_id WHERE register.ID = temp_id.ID");
// We found the row that we were looking for
$info = array();
while($info = mysql_fetch_array($result) or die (mysql_error())){
?>
<b>Username:</b> <?php print ($info['Username']);?><br/>
<b>Age:</b> <?php print ($info['Age']);?><br/>
<b>Comments:</b> <?php print ($info['Comments']);
}
?>
<h3>These are the matches that we have found.</h3>
<p> </p>
<p> </p>
</div>
Obviously there are all the usual other html parts after that but that's not the problem as it's a template that I have been using for the whole site....
Just wanted to be more clear - the parts that say 'Username', 'Age', 'Comments' appear but not 'These are the matches that we have found.' or any of the footer info etc