Username:    Password:        Click Here To Signup     Forgotten Password
Main Menu
Online
Members: 0

Guests: 48

106.120.x.x news
151.80.x.x forum
151.80.x.x forum
151.80.x.x dilbertplus
151.80.x.x dilbertplus
151.80.x.x forum
18.191.x.x news
18.220.x.x news
185.179.x.x signup
220.181.x.x forum
46.229.x.x forum
46.229.x.x user
46.229.x.x forum
46.229.x.x forum
46.229.x.x user
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x dilbertplus
46.229.x.x forum
46.229.x.x dilbertplus
46.229.x.x forum
54.163.x.x forum
54.36.x.x comment
54.36.x.x dilbertplus
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x dilbertplus
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x lgsl
54.36.x.x dilbertplus
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
54.36.x.x forum
78.46.x.x dilbertplus
91.242.x.x forum

Last Seen

Wussie Thu 15:55
Dodgeitorelse Mon 16:49
85filip58 Wed 12:06
Bommel Mon 18:20
Apophis01 Wed 12:35

Newest Members

Forums
minor rwar mod help
Aequitas
Sat Mar 04 2006, 02:50PM
Guest hiyas rich,

i know this has very little to do with the plugin at this point n more of a php syntax issue but i have looked very hard for a solution in vain, so here i am =/

i want to mod the email msg thats sent out after a new war is added (line 263 of rwar_manage.php)

      $mail_message   = "A new war has been added for ".date($pref[rwar_date_format], form[timestamp])"\r\n\r\nFor details visit:\r\n$rwar_folder\r\n\r\nYou must be logged in to add youself to this event, and please make sure you only volunteer for events marked for your squad.\r\n\r\n\r\nRegards,\r\n\r\nClan Scheduler";


i know the syntax to be correct, at least i hope since everyone i have asked for help said its fine... any yet this is the error i get:

Parse error: syntax error, unexpected '"' in /home/mhundal/public_html/e107_plugins/rwar_menu/rwar_manage.php on line 263



any ideas?
Rich
Sat Mar 11 2006, 08:58AM
Posts: 1717
Joined: Wed Nov 26 2003, 04:30PM

You are missing a dot after the timestamp

form[timestamp])"\r\n\r\nFor

Should be

form[timestamp])."\r\n\r\nFor
Website
 

Jump:     Back to top


You are not logged in - Click Here To Signup

Username:    Password:   

Mini Buttons

.... © GreyCube.com - Richard Perry - Powered by e107.org