Jump to content

[SOLVED] Mysql data table help


starvator

Recommended Posts

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

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.