All pastes #549752 Raw Edit

Someone

public php v1 · immutable
·published 2007-06-08 06:32 UTC
rendered paste body
<?php  $conn		= mysql_connect("localhost", "test", "test") $db		= mysql_select_db("friends", $conn); $result2	= mysql_query("SELECT * FROM `friendlist`"); while ($row = mysql_fetch_assoc($result2)) { 	echo "Last Name: ".$row["lname"]; } ?>