mysql - Php while codes show just 1 row -
i'm using these codes.
$blog = mysql_query("select * blog order id"); while($sutun = mysql_fetch_array($blog)) { $fake = $sutun["date"]; echo "$fake"; } when use echo"$fake"; can see of rows. when use <?php echo "$fake" ?> , shows 1 row me.
i want of rows while i'm using <?php echo "$fake" ?>.
beacuse echo"$fake"; in in loop echo @ every iteration thats why can see rows <?php echo"$fake"; ?> executed when loop done last row echoed;
Comments
Post a Comment