starvator Posted June 11, 2009 Share Posted June 11, 2009 so far, i have a mysql table that works perfectly, except for one imput. I am not sure if this is the right place to post though... my code is : <form action="process.php" method="post"> Your Name: <input type="text" name="name"><br> E-mail: <input type="text" name = "email"><br> Expiration: <select name="expiration"> <option value="2009">2009</option> <option value="2010">2010</option> <option value="2011">2011</option> </select><br> <input type="submit" value="Submit"> </form> what is in red does not work properly... can you help me please? also: in my msql table, this is what the field is: expiration varchar(30) latin1_general_ci Yes NULL thanks to any help/advice Quote Link to comment https://forums.phpfreaks.com/topic/161808-solved-mysql-data-table-help/ Share on other sites More sharing options...
fenway Posted June 11, 2009 Share Posted June 11, 2009 Um... no database queries? Quote Link to comment https://forums.phpfreaks.com/topic/161808-solved-mysql-data-table-help/#findComment-853718 Share on other sites More sharing options...
starvator Posted June 11, 2009 Author Share Posted June 11, 2009 Um... no database queries? i have database queries... CREATE TABLE data (name VARCHAR(30), email VARCHAR(30), expiration VARCHAR(30)); BTW, its the red that does not work... Is there something wrong with the way i coded the drop down menu? Quote Link to comment https://forums.phpfreaks.com/topic/161808-solved-mysql-data-table-help/#findComment-853726 Share on other sites More sharing options...
Ken2k7 Posted June 12, 2009 Share Posted June 12, 2009 Wrong forum for this question. And how would we know what's wrong with it if you don't tell us? Syntactically, the HTML is correct. Quote Link to comment https://forums.phpfreaks.com/topic/161808-solved-mysql-data-table-help/#findComment-854206 Share on other sites More sharing options...
Maq Posted June 12, 2009 Share Posted June 12, 2009 We need to see the relevant code in "process.php", the form looks fine. Quote Link to comment https://forums.phpfreaks.com/topic/161808-solved-mysql-data-table-help/#findComment-854210 Share on other sites More sharing options...
fenway Posted June 15, 2009 Share Posted June 15, 2009 We need to see the relevant code in "process.php", the form looks fine. NO -- we don't. We need to see a database query/statment ONLY. Quote Link to comment https://forums.phpfreaks.com/topic/161808-solved-mysql-data-table-help/#findComment-856458 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.