Selasa, 10 April 2012

SELECT Mysql

Memilih database Mysql menggunakan SELECT

 <?php

$query=mysql_query("SELECT * from product order by id desc",$koneksi);

while ($row=mysql_fetch_array($query))
{
 $id=$row['id'];
 }
 ?>
◄ Newer Post Older Post ►