Jump to content

What is wrong with this syntax - code snippet


Mal1

Recommended Posts

I'm getting a syntax error on line 109 with this code on Dreamweaver (not my code), the code seems to work but would like to fix the syntax if possible.

<?php foreach ($gallery->images as $image_id): ?>
                        preloaded<?php echo $image_id; ?> = new Image(); 
                        preloaded<?php echo $image_id; ?>.src = "img/<?php echo $rug->data['id']; ?>_<?php echo $image_id; ?>_medium.jpg";
                     <?php endforeach; ?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.