|
-
Jun 9th, 2006, 04:06 PM
#1
Thread Starter
Addicted Member
[RESOLVED] for loop
i cant figure out whats wrong with this loop, it doesnt error out but it doesnt work
for ($counter=1; $counter==20; $counter++) {
$_5_price = "update_5_price";
$_5_price.= $counter;
$frame = "frame";
$frame.= $counter;
$style = "style";
$style.= $counter;
$style = $_REQUEST[$style];
$style = preg_replace("/####/", " ", $style);
echo $_5_price;
echo "<br>";
echo $frame;
echo "<br>";
echo $style;
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|