Minggu, 18 Agustus 2013

PHP Indonesia - Facebook: [ask] ada yang tau letak kesalahannya dimana.... s...

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/ 
How to Get into Medical School

A tested blueprint to approach the daunting admissions process with both confidence and success! Enroll in this online course for just $29.
From our sponsors
[ask] ada yang tau letak kesalahannya dimana.... s...
Aug 19th 2013, 02:17, by Muhammad Zamrony

Muhammad Zamrony 2:17am Aug 19
[ask] ada yang tau letak kesalahannya dimana.... soalnya dari kemarin nggak bisa terus.>>>>?? thanks

<!DOCTYPE HTML>
<html>
<head>
<title>Membaca Data</title>
</head>

<body>
<?php
//koneksi database
$conn = mysql_connect("localhost","root","");
mysql_select_db("contac");

//membuat query select
$sql = "select * from tb_contac";
//membaca data
$hasil = mysql_query($sql);
?>
<table border="2" cellpadding="5" cellspacing="0">
<tr>
<th>Nama</th>
<th>Email</th>
<th>Komentar</th>
</tr>

<?php
//menampilkan data ke user dengan fungsi mysql_fetch_array()
while($row = mysql_fetch_array($hasil)){
?>

<tr>
<th><?php echo $row['nama']; ?></th>
<th><?php echo $row['email']; ?></th>
<th><?php echo $row['komentar']; ?></th>
</tr>
<?php}?>
</table>
</body>
</html>

Nuroel Hafnati 2:26am Aug 19
*Errornya apa gan?

Adhie Purwa Sasmita 2:28am Aug 19
mysql_select_db ("contac");

jadi mysql_select_db ("contac",$conn);
#cmiiw

Coki Widodo 2:29am Aug 19
ada yg slh mas scriptnya <?php}?> tanpa ada spasi seharusnya ada spasinya <?php }?>

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