This seems to be very simple but I can't find a function to do this for me.
I have a variable $from_date which contains the value 04/27/2007 and I want to put into the database '0407'. I can use substr to grab the first two chars and the last two chars but how do I hook them together? Is there a smarter way to go about this than to use substr???
Thanks,
Scott