westcoaststyle
Programmer
I'm using an array to populate a drop menu depending on what is selected from the previous drop menu.
The problem that I'm having is that some of the data that I need to pass is either "0000" (zeros) or "0123" (zero in front). What is happening is when I submit the form, the zeros are being dropped when they are passed to the next page. I am using these values to query a database so they must be exactly like what is stored in the database tables. Is it possible to keep these values exact when pressing submit?
Thanks!!
The problem that I'm having is that some of the data that I need to pass is either "0000" (zeros) or "0123" (zero in front). What is happening is when I submit the form, the zeros are being dropped when they are passed to the next page. I am using these values to query a database so they must be exactly like what is stored in the database tables. Is it possible to keep these values exact when pressing submit?
Thanks!!