Altrea wrote:Look your codelines around.
Missing semicolon/Brackets?
julyhad wrote:$sql = "SELECT * FROM $tbl ";
$res = @mysql_query($sql);
$rows = @mysql_num_rows($res);
if($rows > 0){
while($row = @mysql_fetch_array($res)){
$f_date = kill_null($row['A_Date'], "");
$f_type = kill_null($row['Type'], "");
}
}
@mysql_free_result($res);
My purpose is to display the whole rows and columns in the table but the whole columns are displaying with only one row which is the first row. Pls, what can i do to display the whole rows?
Users browsing this forum: No registered users and 115 guests