Jump to content

[SOLVED] Error


Msword

Recommended Posts

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<?php
while($row = mysql_fetch_array($result))
  {
  echo '<html>
<head>

  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type">
  <title>RuneCrypt Person:' . $row['name'] . '</title>


</head>
<body>

<table style="text-align: left; margin-left: auto; margin-right: auto; width: 737px; height: 417px;" border="1" cellpadding="2" cellspacing="2">

  <tbody>

    <tr>

      <td style="text-align: center;">Name</td>

      <td style="text-align: center;">' . $row['name'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Picture</td>

      <td style="text-align: center;">' . $row['pictureurl'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Examine</td>

      <td style="text-align: center;">' . $row['exinfo'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Description</td>

      <td style="text-align: center;">' . $row['dsc'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Location</td>

      <td style="text-align: center;">' . $row['location'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Quest(s)</td>

      <td style="text-align: center;">' . $row['quest'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Members Only</td>

      <td style="text-align: center;">' . $row['membonly'] . '</td>

    </tr>

    <tr>

      <td style="text-align: center;">Contributors</td>

      <td style="text-align: center;">' . $row['contributors'] . '</td>

    </tr>

  </tbody>
</table>

<div style="text-align: center;">Last Update: ' . $row['lastupdate'] . '</div>
    }
</body>
</html>'
?>

Parse error: syntax error, unexpected $end in /home/.marja/msword/draftx.net/test/showperson.php on line 91

What did i miss, i can't seem to locate it?

oh shit, was it the } being echo'd?

Link to comment
https://forums.phpfreaks.com/topic/63327-solved-error/
Share on other sites

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.