Hi
I am using explode to sepearte a string.My string value is like this.
$string=\"1;;2;;\"
Here i am exploding the string with the character ;; and storing it in another string.
$string1=explode(\";;\",$string);
if i count the number of elements in $string1 it is giving as 3.
I used sizeof($string1).When i print all the elements inside the loop it is showing the third element as a null value.I don\'t know what is the exact problem.The $string1 array should contain only the two values.
$string[0]=1 and $string[1]=2.
Could any one tell me about this problem.
Thanks in advance.
srini