|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Multiple Page Article Submission System - Aid
Hey guys... I'm having a bit of an issue here... I'm trying to create a mutli-page system, and I thought I'd be able to use the article here on devarticles... but alas, the javascript doesn't work in Mozilla.
I want to make a system that will allow registered users to submit articles... These articles are based into five different catagories. Articles, rants, tutorials, website reviews and interviews... See, I have well figured out how to submit to the database.... but I need to be able to have the user submit articles on the fly... And he needs to be able to choose where they will break the pages... I have considered just putting articles into one page, but when an inteview is 10 Windows Word pages... well.. you understand. PHP Code:
If I wanted to just add one page articles, this would be easy... Code: PHP Code:
But I need to figure out how to split content into multiple pages. I have debated a database table, something like this: Code: PHP Code:
But that would mean I would have five text areas... This doesn't make me too happy... So what I would REALLY like to do is have a user start an article... and then be able to add pages to the article as much as needed (within reason). On submit, it would post the article and pages to the database. Then on something like view.php, I would use an if statement to echo the "next page" and whatnot, that won't be hard at all... My hardest part is making a user friendly way to submit multi-page articles. AAAAAAAARG! Still no idea... Last edited by taintedutopia : May 5th, 2003 at 11:55 AM. |
|
#2
|
|||
|
|||
|
provide 1 form,...store each content field in a session var.
PHP Code:
hope this helps
__________________
-- Jason |
|
#3
|
|||
|
|||
|
*shakes head* I appreciate your help sir.. but my PHP is still horrible.. I'm not really sure how I'd do something like that...
I'll continue looking... *grins* I've been working on this a week... Thank you, very much. -Shade |
|
#4
|
|||
|
|||
|
<hint>Look into hidden html forms</hint>
<input type="hidden" value="..."> |
|
#5
|
|||
|
|||
|
Thanks for all your help... I have been able to crack it.
PHP Code:
Again, thanks. -Shade |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > Multiple Page Article Submission System - Aid |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|