Script Help Needed

From: Date: Wed, 01 Nov 2000 02:26:37 +0000
Subject: Script Help Needed
Groups: php.general 
Request: Send a blank email to php-general+get-23045@lists.php.net to get a copy of this message
Hello. I have a part of a script that keeps giving me trouble. It is = for the size of an image. I don't know why it won't work, so any advice = would be appreciated. Please respond by email. Thanks a whole bunch! <?php $i_size =3D "247 500 124 250,367 500 184 250"; $i_size_array =3D explode (",", $i_size); for ($i_num =3D 1; $i_num <=3D 2; $i_num++) { $z =3D $i_num - 1; $b =3D explode (" ", "$i_size_array[$z]"); $h =3D $i_num . "_h"; $w =3D $i_num . "_w"; $h_5 =3D $i_num . "_h_5"; $w_5 =3D $i_num . "_w_5"; $$h =3D $b[0]; $$w =3D $b[1]; $$h_5 =3D $b[2]; $$w_5 =3D $b[3]; } echo "Height is " . $1_h . " -- Width is $1_w -- 1/2 is $1_h_5 & = $1_w_5<br>\n"; ?>

« previous php.general (#23045) next »