Jumat, 20 September 2013

PHP Indonesia - Facebook: mohon teman sekalian untuk sudi kiranya membatu sa...

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/ 
300+% Conversion Increase

Learn how startups and leading businesses alike are getting huge results using web personalization and behavioral targeting the easy way in this ebook. Get it now!
From our sponsors
mohon teman sekalian untuk sudi kiranya membatu sa...
Sep 20th 2013, 09:18, by Saipol KesatriaKetakutan

Saipol KesatriaKetakutan 9:18am Sep 20
mohon teman sekalian untuk sudi kiranya membatu saya, memecah kan masalah ini,,,, :) maklum saya adalah ilmu saya hanya tingkat pemula...

dibawah ini adalah script php dan hasil akhirnya seperti gambal dibawah ini

script php

<?
//scrip awal dimulai pada script HTML penambahan baris pertama
//membaca data tamu dari data base dan menanpilkannya
//tampil_tamu.php
include "sambung.php"
$hasil=mysql_query("select *from buku_tamu order by id desc");
$t=mysql_num_rows($hasil);
while($data=mysql_fetch_array($hasil)){
echo"<tr>
<td widht=\"9%\"><strong>Nama</strong></td>
<td widht=\"22%\">$data[2]</td>
<td widht=\"69%\">$data[1]</td>
</tr>
<tr>
<td><strong>Alamat</strong></td>
<td colspan=\"2\">$data[3]$data[4]</td>
</tr>
<tr>
<td><strong>Email</strong>
<td colspan=\"2\">$data[5]</td>
</tr>
<tr>
<td><strong>Pesan</strong>
<td colspan=\"2\">$data[6]</td>
</tr>
<td>&nbsp;</td>
<td colspan=\"2\">&nbsp;</tr>
</tr>
}
?>

Octafred Yosi Rorimpandei 9:26am Sep 20
shorttag-nya diganti

<? ganti jadi <?php

Saipol KesatriaKetakutan 9:27am Sep 20
makasih ilmunya,,,,,, :) (Y)

Octafred Yosi Rorimpandei 9:28am Sep 20
echo"<tr> .... </tr>

coba ganti jadi echo "<tr> ... </tr>";

Saipol KesatriaKetakutan 9:31am Sep 20
masih salah dilink 125

$hasil=mysql_query("select *from buku_tamu order by id desc");

Octafred Yosi Rorimpandei 9:33am Sep 20
coba:

$hasil=mysql_query("select * from buku_tamu order by id desc");

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