string function

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!

Moderator: General Moderators

Post Reply
eektech909
Forum Commoner
Posts: 34
Joined: Fri Jun 09, 2006 3:59 pm

string function

Post by eektech909 »

does anyone know what string function to use to take certain characters out of a text box such as a date

text box has 08/13/2006

how do i get the 08, the 13, and the 2006 so i can convert it to sql format

thanks!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

explode() and substr(), if you're talking php.
Post Reply