Jump to content
MakeWebGames

Redux- Mod Support - Marriage Mod


Oracle
 Share

Recommended Posts

Hi, 

I am having trouble with 

<center><table width=90% cellspacing=1 class=table border=1 bordercolor=#636363></center><tr><td>
Proposer: [url='viewuser.php?u=".abs(intval($r[']".htmlentities($r['username'])."[/url]
</td>

I'm getting this error

Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /srv/disk22/4182841/www/demonsandangels.royalwebhosting.net/Mods/marriage.php on line 120

is there anyone that can help me with this?  Thanks in advance 😃

Link to comment
Share on other sites

The error message should be sufficient to determine that there is a misplaced ' symbol - and it does point towards the

$r[']

I suspect the url tag should be

[url='viewuser.php?u=" . $r['userid'] . "']" . htmlentities($r['username']) . "[/url]

however it would probably be wise to provide more context; i.e. a few lines above and below line 120 in order to provide a more accurate response.

Link to comment
Share on other sites

just testing code breaks cos <a href  shouldnt appear as [url

 

<center><table width=90% cellspacing=1 class=table border=1 bordercolor=#636363></center><tr><td>
Proposer: <a href='viewuser.php?u=".abs(intval($r[']".htmlentities($r['username']).">
</td>

try this version it maybe that the [url statement was an old error from an old forum theme

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...