Hello
Thanks for your reply.
My code is very similar to your example, apart from i declare the array 'var $array_name' (i called it $array just in the example).
If i declare the array as you do i get an error.
The function code is :
function Sort_links() {
$temp=split(";", $this->links);
$indexlimit=count($temp);
print("Indexlimit=$indexlimit<br>\n");
for($x=0;$x<$indexlimit;$x++) {
list($this->link_names[$x], $this->link_urls[$x])=split(",", $temp[$x]);
print("link=$this->link_names[$x]<br>\n");
}
}
I've used list here, but i've tried it without and it doesn't work then either.
Thanks
Jon