All pastes #549751 Raw Edit

Someone

public text v1 · immutable
·published 2007-06-08 06:31 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"]; 
} 

?>