Forum Moderators: coopster
For example, if the user is on a page where the default month is 7 (this is my query: SELECT id, date FROM table WHERE month(date)='7')
and then he enters month 8 in a text box.. is it possible to place the 8 in the place of the 7 and then display the new results either on the same page or on a different page by clicking a button?
I assume that I need to store the value of the text box into a variable, which I'm thinking should go in the place of the 7. So, may be something like: SELECT id, date FROM table WHERE month(date)='varMonth'
However, I'm not sure how to go about the actual code.