PHP load up a chart + REP
#2

1. Why you dont use mysqli?

2. Try like this:

PHP код:
$sql="SELECT * FROM $tbl_name ORDER BY ID DESC";
$result=mysql_query($sql);
$count=mysql_num_rows($result);
function 
GetBannedCount()
{
return 
$count;
}
function 
GetBannedList()
{
while(
$row $result->fetch_assoc($result)) {
echo 
"<tr><td>" $row["TimeDate"]. "</td><td>" $row["PlayerName"]. " " $row["By"]. "</td><td>" $row["Reason"]. "</td></tr>";
}
}
mysql_close();
?> 
Reply


Messages In This Thread
Test - by Amit1998 - 23.05.2016, 21:30
Re: PHP load up a chart + REP - by ilijap - 23.05.2016, 21:47
Re: PHP load up a chart + REP - by Amit1998 - 23.05.2016, 21:52
Re: PHP load up a chart + REP - by ilijap - 23.05.2016, 21:58
Re: PHP load up a chart + REP - by Amit1998 - 23.05.2016, 22:27
Re: PHP load up a chart + REP - by ilijap - 24.05.2016, 00:00
Re: PHP load up a chart + REP - by Vince - 24.05.2016, 05:28
Re: PHP load up a chart + REP - by JasperM - 24.05.2016, 08:31
Re: PHP load up a chart + REP - by Amit1998 - 24.05.2016, 09:10
Re: PHP load up a chart + REP - by JasperM - 24.05.2016, 10:08

Forum Jump:


Users browsing this thread: 1 Guest(s)