Page 1 of 1

string function

Posted: Thu Aug 03, 2006 2:48 pm
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!

Posted: Thu Aug 03, 2006 2:51 pm
by feyd
explode() and substr(), if you're talking php.