Quote:
Originally Posted by Soteko
Code:
$sString = 'a:1:{s:10:"formfield1";s:17:"www.domain.com";}';
$sTemp = explode(":", $sString);
$iLastIndex = count($sTemp)-1;
$sDomain = str_replace( array('"', ';', '}'), "", $sTemp[$iLastIndex]);
echo $sDomain;
|
I ending up using something similar to this, thanks for the pointers Guys.