View Single Post
Old 12-12-2012, 04:11 PM   PM User | #5
mharrison
New Coder

 
Join Date: Dec 2012
Posts: 52
Thanks: 12
Thanked 0 Times in 0 Posts
mharrison is an unknown quantity at this point
Code:
<?php
mysql_connect('hostname','username','password');
mysql_select_db('db_name') or die (mysql_error());
$result = mysql_query("SELECT * from patterns");
$row = mysql_fetch_array($result);
echo "<a href=".$row['lnktxt'].">".$row['dsptxt']."</a>";  

}
?>
mharrison is offline   Reply With Quote