i have a database setup with rows that consist of these values. 'id', 'order', 'name', 'details', 'url', 'catagory'.
i have set up a table in php with 4 catagory's. and i am displaying the rows based on catagory...
everything is working but what i want to do is have the results linked by whats in the 'url' row. here is my code for displaying my content.
$query = "SELECT `name` FROM `videos` WHERE `catagory` = CONVERT(_utf8 'Overview' USING latin1) COLLATE latin1_swedish_ci ORDER BY `order` ASC";
$result = mysql_query($query);
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
echo "{$row['name']} <br>";
}
how would i be able to link what is echo'd by whats stored in that rows url section...
thank you,
Edanlee