simple parse problem (easy fix for expert)

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
asi0917
Forum Commoner
Posts: 41
Joined: Thu Nov 25, 2004 10:37 am
Location: Shoreline, Washington
Contact:

simple parse problem (easy fix for expert)

Post by asi0917 »

heres the code

Code: Select all

<?php 
$n = 1
for ($i=1; $i<=5; $i++)
{
echo "<a href='http://www.statewideclaimsservices.com/" . $n . ".jpg'><img class=normal src='http://www.statewideclaimsservices.com/" . $n . ".jpg'></a>";
$n++;
echo $n;
}
?>
it syas theres a parse error on line 14
but i can't figure out what it is

<*({[ code may contain mature content ]})*>
siefkencp
Forum Commoner
Posts: 69
Joined: Thu Dec 16, 2004 8:50 am

Post by siefkencp »

n = 1;[/quote]
User avatar
asi0917
Forum Commoner
Posts: 41
Joined: Thu Nov 25, 2004 10:37 am
Location: Shoreline, Washington
Contact:

Post by asi0917 »

ack
Post Reply