sending database of links to html
Posted: Wed Jun 01, 2005 11:31 am
What is the best way to send a database of links in mysql database:
url1 , url_text1
url2 , url_text2
url3 , url_text3
...
so that they are saved in a html page like this.
<a href="url1">url_text1</a><br>
<a href="url2">url_text2</a><br>
<a href="url3">url_text3</a><br>
so that when I go to edit that page, I actually see the formatted code and not an include(..
Is there a way for php to output to a file rather than to the browser so that the file itself has no include, but has the actual desired code in it?
url1 , url_text1
url2 , url_text2
url3 , url_text3
...
so that they are saved in a html page like this.
<a href="url1">url_text1</a><br>
<a href="url2">url_text2</a><br>
<a href="url3">url_text3</a><br>
so that when I go to edit that page, I actually see the formatted code and not an include(..
Is there a way for php to output to a file rather than to the browser so that the file itself has no include, but has the actual desired code in it?