PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Hi
I have a bug in my php code I need help in. I have two text boxes that takes in 2 dates. A function then querries the db and returns the rows needed. With this I have a seperate display that will display the rows returned. All this works other than the display of number of rows returned. It will only return this after the 2nd time I press the submit button. I would like it to display on the first submit.
Here is the following code:
depending on your page layout, and how you are testing it, the problem may be with the session not being a cookie yet. Where's the "seperate display that will display the rows returned?"
When I press the submit button it will display the rows needed in the db that was queried, but not till I press it again will it display the number of rows.
Thanks
twb