Jump to content

Problems!


eXodus

Recommended Posts

Whats worng with this.

[code]$getart = mysql_query("SELECT * FROM articles WHERE active = '0'");
$artnum = mysql_num_rows($getart);
while($art = mysql_fetch_array($getart))

$title = $art[title];
$postdate = $art[postdate];
$author = $art[author];
$description = bbcode($art[description]);
$content = bbcode($art[content]);

{
echo("<strong>Title:</strong> $title
<br />
<strong>Date:</strong> $postdate
<br />
<strong>User:</strong> $author
<br />
<strong>Description:</strong> $description
<br />
<br />
<strong>Full Content:</strong> $content
<br />
<br />
<a href=\"index.php?page=admin&act=article_submit&func=approve&id=$art[id]\">Approve</a> | <a href=\"index.php?page=admin&act=article_submit&func=decline&id=$art[id]\">Decline</a>");
}[/code]

Any ideas :|

Nothing displays when requested.
Link to comment
https://forums.phpfreaks.com/topic/26785-problems/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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