You are indeed correct in your assumption as to the line which causes the
problems.
Replace the line $myarray[$i]= $myvar.$i; with
$myarray[$i] = ${"myvar".$i};
It should solve your problems. You might want to do an isset(${"myvar".$i})
and an !empty(${"myvar".$i}) check before assigning them
Crizz
use myvar[] in the form and PHP will generate an array for you
HTH
Rich
-Original Message-
From: crizz [mailto:[EMAIL PROTECTED]]
Sent: 25 August 2002 09:21
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] array way
Can you helpme with that?
I have some variables with names like: