Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

iterating rows in php

<?php
$query = mysql_query("SELECT * FROM users WHERE pointsAvailable > 0 ORDER BY pointsAvailable Desc");
$queryResultArray = mysql_fetch_array($query);
foreach($queryResultArray as $row)
{
    echo $row['pointsAvailable'];
}
?>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iterating #rows #php
ADD COMMENT
Topic
Name
3+9 =