How to convert PHP to C++ coding?
Posted: Sun Mar 27, 2011 12:59 pm
Is there a program which provides this compiling method?
A community of PHP developers offering assistance, advice, discussion, and friendship.
http://forums.devnetwork.net/
Code: Select all
<?php
// selects the record with the lowest primary key value
$query = "SELECT * FROM customer ORDER BY pk_field ASC LIMIT 1";
// to display it
$sql = mysql_query($query);
while ($ary = mysql_fetch_array($sql)) {
echo $ary['CUST_NO'];
echo $ary['CUST_FNAME'];
echo $ary['CUST_LNAME'];
echo $ary['CUST_PHONE'];
}
?>