how can i do this?

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
sterileviolence
Forum Newbie
Posts: 1
Joined: Tue May 18, 2004 7:24 pm

how can i do this?

Post by sterileviolence »

i want to desing a php page that is a form and you would fill in the date and than a small body box and you would submit it and it would add the entry to other entries on my news page, i am a newbie when it comes to php, but i want to learn php and learn how to add this feature to my site, its just a news page that updates by this. if anyone is willing to help me that would be great thank you.
User avatar
hawleyjr
BeerMod
Posts: 2170
Joined: Tue Jan 13, 2004 4:58 pm
Location: Jax FL & Spokane WA USA

Post by hawleyjr »

If you are trying to pass variables to different pages use session variables. If you are tyring to pass the values of a text box to other text boxes on the same page use javascript.

Please post code...
McGruff
DevNet Master
Posts: 2893
Joined: Thu Jan 30, 2003 8:26 pm
Location: Glasgow, Scotland

Post by McGruff »

Sounds like a simple form. Point the action at your form processor script.

There are lots of tutorials on the net about this. Sorry working away from home so I don't have my bookmarks with me right now.

If the date should always be the current date, it would be better to set current date in a hidden field to avoid user errors.
Post Reply