PHP/MySQL help! Immediate 10 pts to best answer!?

  • Thread starter Thread starter skinnypspplayer
  • Start date Start date
S

skinnypspplayer

Guest
I have a website where users can submit various content. Now if you're an admin for my site, you will have access to a User Submission area where you can accept or deny the submitted content. I got the deny part done with (delete data off MySQL database) but now I need the accept part done (add content to the site). So when an admin clicks accept, the content gets..

1. Added to articles.php as <a href="blah.php">Article Title</a>
2. And a new page to be made for the article

For the new page, I have all the layout and stuff done but I need a way to make it so when you click accept for the content, a new .php page gets made for the content (www.mysite.com/article-title.php). So can anyone help me with those two things above? Thanks!
 
Back
Top