![]() |
|
#1
|
|||
|
|||
Passing values from Dropdown to mySQLI am submitting a form from my php page to mySQL to register a user. All my input text boxes are writing to the database. The page signup.php is being passed to signupck.php. Im not very good at PHP, as I have only started. The code is this........
SIGNUP.PHP PHP Code:
SIGNUPCK.PHP is PHP Code:
PLEASE HELP!! Last edited by LuciWiz : 26-Jan-2007 at 11:31.
Reason: Please insert your Php code between [php] & [/php] tags
|
|
#2
|
|||
|
|||
Re: Passing values from Dropdown to mySQLI can solve ur problem. If u don't understand please let me know.
for 'YearSelect' do like 'LangSelect' suppose ur table field name for Yearselect is 'year1' then in insert statement write like as follows: "INSERT INTO users(userid,password,surname,firstname,email,year 1,language) VALUES('$userid','$password','$surname','$firstnam e','$email','$YearSelect','$language')". If it doesn't work, please let me know details. Thanks. Quote:
|
|
#3
|
|||
|
|||
Re: Passing values from Dropdown to mySQLthanks! my mysql tables 'users' has a field called yearid. By changing this to year1, I dont understand how values 2, 3, 4 work?
|
Recent GIDBlog
2nd Week of IA Training by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MySQL in cygwin | Avalon12 | CPP / C++ Forum | 0 | 01-Oct-2006 09:22 |
| Cpanel downgrade MYSQL 4.1.X to MySQL 4.0.xx | Webhosting-live | Web Hosting Forum | 1 | 01-Sep-2006 02:54 |
| CPanel 10, Unlimited Emails, Unlimited Subdomains, Unlimited MySQL. $2.00 per Month | Kalypsoweb | Web Hosting Advertisements & Offers | 0 | 30-Oct-2005 01:51 |
| Windows: From only £20p/y,Linux: from $10p/m. ASP, ASP.NET, PHP, Free MySQL, +More | EyotaHosts | Web Hosting Advertisements & Offers | 0 | 28-Jun-2003 13:54 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The