On Friday, Oct 31, 2003, at 10:01 US/Pacific, radhika sambamurti wrote:


Hi,
I am trying to do this:

        for( $i = 0; $i < 5; $i++) {
        $qty[$i] = $q->param('qty$i');

what you are probably finding is that


$qty[0] eq 'qty$i'

since you used the single quote token.

whereas

$qty[$i] = $q->param("qty$i");

would probably Allow the string to be interpolated as
"qty0" which is what you seem to want.

ciao
drieux

---


-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to