By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,751 Members | 1,158 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,751 IT Pros & Developers. It's quick & easy.

keeping track of user input

P: 8
Hi experts,
I am working with a table in a database (mysql) that keeps track of the users. The table fields are id, privilege (ie person's position in a committee -- a number mapping to a position name), username, and first and last name.

The privilege field is to be a scroll-down menu. I have created a simple one in HTML (let me know if you'd like me to post code), but then I realised that the selected item will not actually be sent to the database and hence the user will not actually be updated/added. There must be a way to keep track of data that has been entered about the user, I just can't think of it. I've been stuck for hours.

I've tried several versions of writing the menu in PHP (eg while loops, foreach loops..) but still get stuck on actually keeping track of user input.
Any help would be amazing.
Thanks in advance!!
-N
May 11 '12 #1
Share this Question
Share on Google+
1 Reply


harshmaul
Expert 100+
P: 490
Hi, I'm not fully clear on what you mean by scroll down menu and what you are trying to achieve, please submit your html, and it may shed some light on your scenario.
May 14 '12 #2

Post your reply

Sign in to post your reply or Sign up for a free account.