|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Registered User
Industry Role:
Join Date: Jan 2001
Location: Your moms box
Posts: 26,727
|
Any php peeps here? I have an error and can't figure it out.
Parse error: syntax error, unexpected ';'
wtf does this mean? it's on this line "U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&refer _id=$refer_id&". $board_config['agreed_var'] ."=".$board_config['agreed_val']&refer_id=$refer_id), |
|
|
|
|
|
#2 |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
you have an error in your syntax.
an unexpected ; try getting rid of ";"
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself |
|
|
|
|
|
#3 |
|
Too lazy to set a custom title
Industry Role:
Join Date: Jul 2001
Location: Currently Incognito
Posts: 13,827
|
Maybe it's reading the semicolon at the end of & as the end of line.
__________________
It's all disambiguation ![]() |
|
|
|
|
|
#4 |
|
Registered User
Industry Role:
Join Date: Jan 2001
Location: Your moms box
Posts: 26,727
|
no shit sherlock....
but thats not the answer |
|
|
|
|
|
#5 |
|
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
try changing this:
$board_config['agreed_val']&refer_id=$refer_id to this: $board_config['agreed_val']."&refer_id=" .$refer_id |
|
|
|
|
|
#6 |
|
Confirmed User
Industry Role:
Join Date: Jun 2004
Location: New York, NY
Posts: 6,890
|
That is correct, that should fix it.
__________________
Skype variuscr - Email varius AT gmail |
|
|
|
|
|
#7 |
|
Confirmed User
Join Date: May 2004
Location: ...
Posts: 761
|
try this.
"U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&refer _id=".$refer_id."&".$board_config['agreed_var']."=".$board_config['agreed_val']."&refer_id=".$refer_id),
__________________
Programmer ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com |
|
|
|
|
|
#8 |
|
Confirmed User
Join Date: Jun 2003
Location: England
Posts: 1,063
|
Why? Its still going to find the ; isnt it? Also id guess that is the answer.
__________________
Free Site Express GFY Launch Offer Gay Demo Video - Straight Demo Video Icq: 191127710 Email: [email protected] |
|
|
|
|
|
#9 | |
|
Too lazy to set a custom title
Join Date: Mar 2002
Location: Australia
Posts: 17,393
|
Quote:
"U_AGREE_OVER13" => append_sid("profile.$phpEx?mode=register&refer _id=$refer_id&". $board_config['agreed_var'] ."=".$board_config['agreed_val']."&refer_id=$refer_id"), I presume the statement is continued on the next line, if not then delete the final , and replace it with a ; Where did you get this code? As you've posted it I don't think it would have ever worked. |
|
|
|
|
|
|
#10 |
|
Registered User
Industry Role:
Join Date: Jan 2001
Location: Your moms box
Posts: 26,727
|
|
|
|
|
|
|
#11 |
|
Registered User
Industry Role:
Join Date: Jan 2001
Location: Your moms box
Posts: 26,727
|
|
|
|
|
|
|
#12 | |
|
So Fucking What
Industry Role:
Join Date: Jul 2006
Posts: 17,189
|
Quote:
![]()
__________________
best host: Webair | best sponsor: Kink | best coder: 688218966 | Go Fuck Yourself |
|
|
|
|
|
|
#13 | |
|
Confirmed User
Join Date: May 2004
Location: ...
Posts: 761
|
Quote:
__________________
Programmer ICQ 44035273 | AIM spritwork | Email spritian at spritian dot com |
|
|
|
|
|
|
#14 |
|
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
Yes.
What you should do is separate your strings (anything between "", i.e: "&refer_id=") from your variables (anything with a $ sign, i.e: $refer_id). You can join them together with '.' (ignore the single quotations). Then you should be fine. |
|
|
|
|
|
#15 |
|
Registered User
Industry Role:
Join Date: Jan 2001
Location: Your moms box
Posts: 26,727
|
Are you sure? the referal_id should be listed in the html link when going to the php url with profile.php?mode=register&refer_id=294 in it right?
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
It could be that your script handles this differently. In that case copy paste rowans selection, which is near the same to mine, only it has the last $refer_id in between "" quotations. Good luck.
|
|
|
|