iseng ….

inilah iseng ku ...

<?php
require("function.inc.php");
require("connection.inc.php");

$q_mutasi = s_query("*","mutasi","ket like 'Refund Bon Abon%' and to_days(tanggal) = to_days('2011-07-29')");

while($res_mutasi = mysql_fetch_object($q_mutasi)){
$kredit = $res_mutasi->kredit;
$custid = $res_mutasi->member;
$id = $res_mutasi->id;
$explode = explode(" ",$res_mutasi->ket);
$hpp = $explode[5];
$loc = $explode[4];

/*disini lakukan apapun*/
if(){
}
/* dan sampai disini */

echo "$custid $id --> OK <br>";
}
echo "OK";
?>

Silahkan Komentar ... !

Isikan data di bawah atau klik salah satu ikon untuk log in:

Logo WordPress.com

You are commenting using your WordPress.com account. Logout / Ubah )

Gambar Twitter

You are commenting using your Twitter account. Logout / Ubah )

Foto Facebook

You are commenting using your Facebook account. Logout / Ubah )

Foto Google+

You are commenting using your Google+ account. Logout / Ubah )

Connecting to %s