View Full Version : Dynamic html file name with mysql?

10-07-2007, 11:16 AM

Well i want to use html which contains php / mysql intergrated data, which ive already done but all i need to do now is
to find a script that will add the news title from the mysql database, (e.g. GTA 4 Delay) and it would appear as:


The ID will extract the data from the database, and display it on the html template that will be used for all news articles.
and the file name is there to replace the boring file name "view_article.html".

Any help will be very much appreciated, even if you can't help me then point me into the right direction how to do this.

10-07-2007, 09:12 PM
The request comes before the server interaction, and you can't have pages that don't exist on the server return anything.
The best you can do is use get variable sot fake that, like:

You could try some very complex redirecting and mod-rewrite/.htaccess to try the original idea, but it would be quite difficult and might not work in the end.