adding fields to form / database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dreado
Forum Newbie
Posts: 1
Joined: Tue Feb 14, 2006 5:51 am

adding fields to form / database

Post by dreado »

Hi all.

I've been meaning to start to get to grips with PHP (I'm not a programer, I'm a designer), now I have the chance to jump in the slightly deep end.

I have downloaded a script for a site I’m working on, it’s a pretty basic script for a conga line (for those free ipod and such sites). The script just lets the visitor add their link to the line, and login to update their status (need referrals, no longer need referrals, remain the same).

So I guess the script generates a bunch of variables, name, link, status... I would like to add to this a couple more; the facility to post a short message (from the edit status page) that can be echoed elsewhere along with the date it was posted. This message and date would be replaced whenever the user logged in and repeated the process, so they would be updating their little message.

From my small understanding of php, I feel this should be doable, can anyone help me out with it? i.e How to get this info from a form, to a database, and how to get it into a php file.
Post Reply