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!
I've been searching around on php.net trying to find a method for finding "/" in a string. Basically, the date needs to be formatted a certain way before it can be inserted in the database.
This is for a WAP site and I need to return and error if the string does not contain two "/". Can anyone help?
[php_man]strstr[/php_man] This might also help, if you're looking for one character, I don't think full blown regex is the way to go as it really slows things down. Depends on what you need of course.