Can anyone tell me what I am doing wrong?

I am essentially trying to do this:
$divid[1] = $div_id1;
$divid[2] = $div_id2;
$divid[3] = $div_id3;
$divid[4] = $div_id4;
$divid[5] = $div_id5;

But I was looking for a tighter way, like the following (which does not work):

Can anybody tell me how to do this in a "for" statement?

Thanks In Advance

This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to