$username ="funzec_muswall";
$password ="vi9Y)U.@QMJ#";
$databasename ="funzec_muswall";
$host ="localhost";
mysql_connect($host, $username, $password) or die();
mysql_select_db("$databasename") or die();
echo "";
$result=mysql_query("SELECT * FROM `mazaay-review` ORDER BY `title` ASC");
$numrows = mysql_num_rows($result);
while ($results = mysql_fetch_array($result))
{
$id=$results['id'];
$title=$results['title'];
$img=$results['img'];
$year=$results['year'];
$data=$results['data'];
$tfile=$results['tfile'];
$tr1 = $tr1 == "" ? " " : " ";
$tre1 = $tre1 == " " ? " " : " ";
echo "$tr1$title | $tre1"; }{ echo " ";
}
?> |
|