Tolong pilih kategori sesuai, jenis posting (pertanyaan atau bukan) dan sertakan tag/topik yang sesuai misal komputer, php, mysql, dll.
Promosi atau posting tidak pada tempatnya akan kami hapus.
Mencantumkan kode program di posting Anda, tolong ikuti aturan yang sesuai, baca http://diskusiweb.com/discussion/39204/aturan-cara-menyisipkan-kode-program-di-diskusiweb

Baca cara posting gambar/image di post Anda: http://www.diskusiweb.com/discussion/47345/cara-menyisipkan-menyertakan-image-pada-posting/p1

Kado untuk Mertua (cewek)

edited November 2011 in Gaul
Please yang lagi online sekarang..
Minta pendapatnya dong.. Malam ini ada acara ketemu calon Mertua..
Dia lagi ultah, tapi bingung mau kasih kado apaan..<div class='geshi_syntax'><table><tr><td><div class='code'><pre class="php"><span class="re0">$idea</span> <span class="sy0">=</span> <span class="kw4">NULL</span><span class="sy0">;</span>
 
<span class="kw1">if</span><span class="br0">(</span><span class="re0">$idea</span> <span class="sy0">==</span> <span class="kw4">NULL</span><span class="br0">)</span><span class="br0">{</span>
<span class="kw1">return</span> <span class="kw4">FALSE</span><span class="sy0">;</span>
<span class="br0">}</span>
<span class="kw1">else</span> <span class="br0">{</span>
<span class="kw1">echo</span> <span class="st0">"Minta pendapatnya.."</span><span class="sy0">;</span>
<span class="br0">}</span></pre></div></td></tr></table></div>
Please.. Minta ide atau saran dari teman-teman semuanya..

Thanks

Tanggapan

  • FIX..
    Akhirnya dapet sesuatu juga tadi malam haha..
    Thanks yang buat view aja.. Walaupun ga jawab
  • edited November 2011
    <div class='geshi_syntax'><table><tr><td><div class='code'><pre class="php"><span class="kw1">include</span><span class="br0">(</span><span class="st0">"kado_mertua.php"</span><span class="br0">)</span><span class="sy0">;</span>
    <span class="re0">$keluhan</span> <span class="sy0">=</span> <span class="re0">$_REQUEST</span><span class="br0">[</span><span class="st_h">'Minta pendapatnya..'</span><span class="br0">]</span><span class="sy0">;</span>
    <span class="re0">$date_post</span> <span class="sy0">=</span> <span class="nu0">2011</span><span class="sy0">/</span><span class="nu0">11</span><span class="sy0">/</span><span class="nu0">29</span><span class="sy0">;</span>
    <span class="re0">$dateNow</span> <span class="sy0">=</span> <span class="kw3">date</span><span class="br0">(</span><span class="st0">"Y/m/d"</span><span class="br0">)</span><span class="sy0">;</span>
     
    <span class="kw1">if</span> <span class="br0">(</span><span class="re0">$date_post</span> <span class="sy0"><=</span> <span class="re0">$dateNow</span><span class="br0">)</span><span class="br0">{</span>
    <span class="re0">$bantuan</span> <span class="sy0">=</span> <span class="st_h">'Saya akan bantu Masalah Anda'</span><span class="sy0">;</span>
    <span class="kw1">echo</span> <span class="re0">$bantuan</span><span class="sy0">;</span>
     
    <span class="br0">}</span> <span class="kw1">else</span> <span class="br0">{</span>
    <span class="re0">$alibi</span> <span class="sy0">=</span><span class="st_h">'Bukannya ga mau jawab, tapi harinya udah lewat jadi mau jawab apa ya?'</span><span class="sy0">;</span>
    <span class="kw1">echo</span> <span class="re0">$alibi</span><span class="sy0">;</span>
    <span class="br0">}</span></pre></div></td></tr></table></div>
  • beliin mekbuk aja gan, biar seneng
  • martabak.. di dalemnya diselipin arloji cantik
  • itu desember 2011 sekarang april 2012, kira2 masih calon ato udah jd mertua ato malah mantan calon mertua???
  • Masih calon :p doain aja ya desember udah merid  \m/
Sign In or Register to comment.