Home › Forums › Quform PHP › Content from database to webpage
Hi,
I make a database and tabel with name , email e.g
Can someone me give a sample how to get the stored information (name email e.g in the database to show in a webpage ??
webpage: name Frens | email test@com.com e.g name Jane | email test@sel.com e.g
Thanks for comment
Ok..find out
<?php mysql_connect(“localhost”, “deb1111_form”,”xxxxx”) or die (mysql_error());
mysql_select_db(“deb1111_form”)or die (“Not connect with database”);
$query = mysql_query (‘select id, name,email, dag from test ORDER BY dag’) ;
while ($rows = mysql_fetch_assoc($query)) {
echo $rows [‘id’] .” “.$rows [‘name’] .” “.$rows [‘dag’] .” “.$rows [’email’];
} ?>
If this could better ….welcome………
You don't have permission to view this content. Please log in or register and then verify your purchases to gain access.