I'm having trouble w/ something...
I have a while loop
PHP Code:
<? while($row = mysql_fetch_assoc($result)) {
require('age-calc.php');
?>
that I'm using to create a table.
I have this in the middle of the page. But I want to have info pulled from the table above and below this while loop, and not that that information repeat, like the while loop does.
Kind of understand?
This is my query code
PHP Code:
<?
$sql = "SELECT * FROM players,national WHERE players.national='$id' AND national.national='$id'";
$result = mysql_query($sql) or die(mysql_error());
?>