I have tried many different ways but can't get it to work.
Part of the search.php code:
----------------------------------------------
// now you can display the results returned
while ($row= mysql_fetch_array($result)) {
$title = $row["1st_field"];
echo "$title" ;
$count++ ;
}
------------------------------------------
XHTML Code:
------------------------------------------
<img class="himgicon" alt="0" src="graphic/0.png" width="10" height="12" /><a href="http://foxnews.mobi" accesskey="0"> Fox News</a><br />
------------------------------------------
What I would like to do:
------------------------------------------
How can I add the xhtml code around the variable $title = foxnews.mobi? The variable $title is taken from a MySQL Database.
Would it also be possible to replace the 0 in 0.png with a variable called $icon
and Fox News with a variable called $description?
------------------------------------------
Thanks a lot for your help!
Part of the search.php code:
----------------------------------------------
// now you can display the results returned
while ($row= mysql_fetch_array($result)) {
$title = $row["1st_field"];
echo "$title" ;
$count++ ;
}
------------------------------------------
XHTML Code:
------------------------------------------
<img class="himgicon" alt="0" src="graphic/0.png" width="10" height="12" /><a href="http://foxnews.mobi" accesskey="0"> Fox News</a><br />
------------------------------------------
What I would like to do:
------------------------------------------
How can I add the xhtml code around the variable $title = foxnews.mobi? The variable $title is taken from a MySQL Database.
Would it also be possible to replace the 0 in 0.png with a variable called $icon
and Fox News with a variable called $description?
------------------------------------------
Thanks a lot for your help!







