googleit
08-29-2006, 07:53 PM
how do you get plain text from a mysql db an turn them into hyperlinks? here is the code i have so far
<?php
mysql_connect("host","username","pass");
mysql_select_db("dbname");
$query = "SELECT data,site FROM site where id=$id";
$result = MYSQL_QUERY($query);
$data = MYSQL_RESULT($result,0,"data");
print $data;
?>
any help would be great :)
<?php
mysql_connect("host","username","pass");
mysql_select_db("dbname");
$query = "SELECT data,site FROM site where id=$id";
$result = MYSQL_QUERY($query);
$data = MYSQL_RESULT($result,0,"data");
print $data;
?>
any help would be great :)