Hi, I'm fairly new to php and sql, and was wondering if this question could be easily answered, I'll do my best to be as concise as possible;
I have a table within a database that I'm using to return basic searches for my company to find specific products, i.e a scale that has a capacity of 300kg, if you search 300kg, it will return all scales with a 300kg capacity field, and the rest of the information about that scale too, one field is a link to that scale's page on our website, but it's not defined as a genuine hyperlink, just text that needs to be copied, is there a simple way around this?
Example returned result from a search:
ID: 1
Cost: £235
Weblink: http://www.weighingscales.com/results2.asp?ID=369
Example Code:
<?php
while ($row = mysql_fetch_array($sql)){
echo 'ID: '.$row['ID'];
echo '<br/> Cost: '.$row['Cost'];
echo '<br/> Weblink: '.$row['Weblink'];
echo '<br/>';
}
?>
Many thanks!