Jump to content

Dropdown displaying text that passes ID# to DB


ThisIsMyName

Recommended Posts

Wondering if it's possible to create a form with a dropdown that displays a list of text options but passes an INT to MySQL, e.g, menu contains a list of cities but I update the DB with a City_ID. Is there a way to define $Miami=$1234 and put $Miami in the HTML form variable?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.