unnamed file

PHP

Keine Beschreibung eingegeben.

Guest

Download Edit

<?php
require_once(\"mysql.inc.php\");
define(\"PREFIX\", \'ws_Jd0_\');
$sql = \"SELECT a.date, b.headline, b.content FROM \".$PREFIX.\"news a, \".$PREFIX.\"news_contents b WHERE a.newsID = b.newsID ORDER BY a.date desc\";
$result = mysql_query($sql);
while($row = mysql_fetch_object($result))
{
echo \"$row->date - $row->headline - $row->content\";
}
?>