MySQL Forums
Forum List  »  PHP

Re: Building a query to fetch an array
Posted by: Barry Galbraith
Date: September 24, 2012 04:33PM

Try this.

if ($pointcode_num_rows==0)
echo "CLLI code does not exist!";
else
{
while ($row = mysql_fetch_array($pointcode)){
    echo "$clli = $row['pointcode']<br>";
    }
}

Good luck,
Barry.

Options: ReplyQuote


Subject
Written By
Posted
Re: Building a query to fetch an array
September 24, 2012 04:33PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.