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

Guests: 19

178.255.x.x forum
3.80.x.x forum
46.229.x.x dilbertplus
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 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 forum
5.255.x.x forum
78.46.x.x forum

Last Seen

mrstipfan Wed 19:48
Gagi2 Mon 16:30
EFiNST0RM Sun 15:39
85filip58 Sun 12:14
brlight Tue 04:18

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