When I try to pass an array to a class the program hangs up.
php4, windows xp pro
This debug is going real slow due to having to reboot after every test
run.
Any help would be greatly appreciated!
the function in the calling program:
$new_session->set_serial_num bers('$serial_n umber_array');
usage in the class:
var $sn_array=array ();
function set_serial_numb ers($serial_num ber_array)
{$this->sn_array=$seri al_number_array ;}
for ($q=0;$q<count( $this->sn_array);$q )
{echo $this->sn_array{$q}." <br>";}
php4, windows xp pro
This debug is going real slow due to having to reboot after every test
run.
Any help would be greatly appreciated!
the function in the calling program:
$new_session->set_serial_num bers('$serial_n umber_array');
usage in the class:
var $sn_array=array ();
function set_serial_numb ers($serial_num ber_array)
{$this->sn_array=$seri al_number_array ;}
for ($q=0;$q<count( $this->sn_array);$q )
{echo $this->sn_array{$q}." <br>";}
Comment