Msword Posted August 4, 2007 Share Posted August 4, 2007 <!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 More sharing options...
wildteen88 Posted August 4, 2007 Share Posted August 4, 2007 This: } </body> </html>' should be: </body> </html>'; } Link to comment https://forums.phpfreaks.com/topic/63327-solved-error/#findComment-315581 Share on other sites More sharing options...
dbo Posted August 4, 2007 Share Posted August 4, 2007 It takes a lot for me to respond with someone who is named msword (lmao). Anyways you're missing your semi-colon to end the statement. Link to comment https://forums.phpfreaks.com/topic/63327-solved-error/#findComment-315582 Share on other sites More sharing options...
Msword Posted August 4, 2007 Author Share Posted August 4, 2007 thanks guys and its m-sword i use ubuntu Link to comment https://forums.phpfreaks.com/topic/63327-solved-error/#findComment-315583 Share on other sites More sharing options...
dbo Posted August 4, 2007 Share Posted August 4, 2007 Woot! You've redeemed yourself in my eyes Link to comment https://forums.phpfreaks.com/topic/63327-solved-error/#findComment-315587 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.