Hey guys, I'm a bit of a PHP noob, so will try my best to describe what I'm trying to do...
I am working on a front-end 'news upload' system which will allow any members of my organisation to upload news items to our news database using an HTML form.
I have coded as far as when it comes to generating the stand-alone pages for news items themselves. I have the data in the fields in the database outputting onto our homepage as desired but would also like to generate a new PHP page for each item that is uploaded as well, but I am unsure as to how to go about this.
Basically, at the same time that the homepage is being updated (immediately after writing the data to the database) I would like to generate a stand-alone .php file in it's own directory, say 'news'. I hope this makes sense?
Any advice as to how I would go about doing this would be much appreciated.