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 problem that I would appreciate some help on. I am calling a function that checks 3 things 1)If the textbox is empty, if its a valid date format and if its a valid date. The last two parts of the function work however the 1st part that checks if the text box has fields in it dosen't. The data entered is through a text box:
The function call is as:
Thanks for the reply
I tried the trim..didn't seem to make a difference..hmmm
I dosen,t even call the function untill there is something in the text box..which defeats the purpose
I want to be able to leave the text input box empty that way when I submit with a blank field, i will be prompted "That the text box is empty"
twb