Posted by Mikii on 10/11/09 12:00
Hi - I have this working
while($row=mysql_fetch_array($result))
{
$filename=$row['cat_title'];
echo "<li><a href=\"". $filename. "\">". $filename."</a></li>\n";
}
I need to append ".html" (the extension) onto $filename so it returns
pagename.html
How to append this in PHP please?, and thanks for your time.
[Back to original message]
|