//$pagelevel = 4;
//include("$protectedpage");
?>
p |
user |
title |
include("$opendatabase");
$query = " SELECT tbt_poetry.p, tbt_members.user, tbt_poetry.title, tbt_poetry.id
FROM tbt_poetry, tbt_members
WHERE tbt_poetry.id = tbt_members.id
LIMIT 9999 ";
$result = mysql_query($query) or die("Woot? 1" . mysql_error());
$num = mysql_num_rows($result);
for ($i=0; $i<$num; $i++)
{
$p = mysql_result($result,$i,"p");
$id = mysql_result($result,$i,"id");
$user = mysql_result($result,$i,"user");
$user = "$user";
$title = mysql_result($result,$i,"title");
$title = "$title";
echo "
$p |
$user |
$title |
";
}
?>