Jump to content

Parse error: parse error in C:\wamp\www\editpolicy.php on line 47


albertopepler

Recommended Posts

I am trying to put a href on a line to link me to another php module, but get an error: Parse error: parse error in C:\wamp\www\editpolicy.php on line 47

My code:

while ($row2 = mysql_fetch_array($result2) )

{

print "<tr><td>";

<a href='editpayment.php?payid=$row2[PaymentID]'>$row2[PaymentID]</a> .........THIS IS LINE 47 ???

print "</td><td>";

print $row2['Actioned'];

print "</td><td align='right'>";

print $row2['PremiumPaidAmount'];

print "</td><td align='right'>";

print $row2['Risk'];

print "</td></tr>";

}

You need a print statement there.

 

while($row2 = mysql_fetch_array($result2)) {
    print "<tr><td>";
    print "<a href='editpayment.php?payid=".$row2['PaymentID']."'>".$row2['PaymentID']."</a>";
    // the rest of your print statements
}

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.