hi,
is there an error in this script?:
if ($var){
$tmp = explode("<|>",$vars);
for ($i = 0; $i < sizeof($tmp); $i++){
$struct[$i] = array();
$tmp2 = explode("<||>",$tmp[$i]);
for ($j = 0; $j < sizeof($tmp2);$j++){
$struct[$i][$j] = explode("<|||>",$tmp2[$j]);
}
}
}
$var is something like
"heim<||>test<|||>test1_1<|||>test1_2<|>home<||>testing<|||>testing1_2<|||>t
esting2_2"
Im getting the warning "Cannot index a string index" on line
"$struct[$i][$j] = explode("<|||>",$tmp2[$j]);"
I've done similar things quite often, but this is the first time I get this
warning.
Any Ideas, Thanks
Torek
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]