dmschenk Posted October 21, 2008 Share Posted October 21, 2008 This is a newbie question so any help will be appreciated. I would like to learn to how create new webpages on the fly. I am using PHP5 and MySQL and am currently using this to simple populate a web page. 1. How can build a brand new "REAL" page such as about.php or article25.php, programatically?? 2. Is it possible to create the SQL statement for the new page as hard coded with the next available row from the content table in the Db? example: if the current content row is "5" can I generate the SQL to say "WHERE content = 6;"?? I sort of envision a two step process where the generic page is created and given the next available id in the content table. step 2 would be to put the content in the database. Is this how you would do this? Are there better alternatives? Thanks Dave Link to comment https://forums.phpfreaks.com/topic/129422-creating-new-pages-on-the-fly/ Share on other sites More sharing options...
php.ajax.coder Posted October 21, 2008 Share Posted October 21, 2008 Try using a cms like wordpress it's free add does this and more http://wordpress.org/ Link to comment https://forums.phpfreaks.com/topic/129422-creating-new-pages-on-the-fly/#findComment-671012 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.