Hi,
Any idea why it is taking the first array as blank and giving me an array
count of 3 instead of 2?
<?
$final="http://something.com/cgi-bin/atx/out.cgi?s=63&c=1&l=gals&u=http://bl
ah.something.com/bs3/index1.htm";
$final2=explode("http://",$final);
$res=count($final2);
echo "<br><br><br>".$res;
print_r($final2);
?>

This is the output that is confusing me:
Array
(
    [0] =>
    [1] => something.com/cgi-bin/atx/out.cgi?s=63&c=1&l=gals&u=
    [2] => blah.something.com/bs3/index1.htm
)

Thanks,
Ryan

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to