Jumat, 08 November 2013

PHP Indonesia - Facebook: Askum para master bisa ngasih contoh untuk penamba...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Join Delanceyplace

Sign up to receive a free quote from a non fiction book every weekday.
From our sponsors
Askum para master bisa ngasih contoh untuk penamba...
Nov 8th 2013, 14:48, by Yayan Fajar Roniyanto

Yayan Fajar Roniyanto 2:48pm Nov 8
Askum para master bisa ngasih contoh untuk penambahan code "upload image" pada code berikut ini, mhon clue dan bantuannya,,,
if (isset($_POST['submit'])) {

if (!empty($_POST['name']) && !empty($_POST['money']) && !empty($_POST['text']) && !empty($_POST['access'])) {
if ($db->query("insert into `".prefix."files` set `ref`='".intval($_POST['cat'])."', `name`='".$fun->escape($_POST['name'])."', `money`='".$_POST['money']."', `text`='".$fun->escape($_POST['text'])."', `access`='".$fun->escape(base64_encode($_POST['access']))."'")) {
header('Location: '.ROOT.'/catalog.php?id='.$_POST['cat']);
} else {
echo '<div class="error">Kesalahan menambahkan produk!<br/>'.$db->SQLerror().'</div>';
}

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar