- Messages
- 6
- Likes
- 0
- Points
- 1
My snippets code was working fine and all of a sudden they stopped working and also if I try to update the code it will return page not found error
Bellow is the code content:
Bellow is the code content:
PHP:
@include 'connection.php';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>MESSAGES BY CATEGORIES</title>
</head>
<body>
<br />
<br />
<br />
<?PHP
$query = "select * from by_alphabitical WHERE message_cat='MIRACLE SERVICES' ORDER BY message_sn DESC";
$result = mysql_query($query);
@$total2 = mysql_num_rows(@$result);
if($total2<=0){ echo "<center>Nill</center>";}
if($total2>0){
echo '<table width= 95% border=1 style="border: thin; border-color:violet" cellpadding="0" cellspacing="0" align="center">
<tr align="Center">
<td width= 6%><strong><font style="font-size:16px"> SN</font></strong></td>
<td width= 75%><strong><font style="font-size:16px">MESSAGE TITLE</font></strong></td>
<td width= 14%><strong><font style="font-size:16px">DOWNLOAD</font></strong></td>
</tr>
';
@$sn=0;
while (@$row3 = mysql_fetch_array(@$result)) {
@extract(@$row3);
@$sn=$sn+1;
echo "
<tr valign='middle'"; if($sn % 2 == 0){
echo "bgcolor='#CC99FF'";}
echo " ><td width=6% valign='middle' align='center'><font style='font-size:14px'> $sn";
echo "</font></td>
<td width= 75%> <font style='font-size:14px'>
$message_title
</font></td>
<td width= 14% align='center'>
<a href='http://koinoniadownloads.org/messages/$message_title.mp3'><img src='http://koinoniadownloads.org/images/DOWNLOAD.png' width='30' height='30' /></a>
</td>
</tr>";
}
echo '</table>'; }
?>
</body>
</html>
Last edited by a moderator: