Welcome to Geeklog, Anonymous Tuesday, May 28 2024 @ 03:40 am EDT

Geeklog Forums

Setting up email notification for event submission


Jordan

Anonymous
i've tried editing the forms for the event submissions i've added email phone # and # of kids and have deleted city adress 1 and 2 zip code and all day event.. but now that i have tried to fix the email notification so i get all that information in my emails. i don't... so i've tried edditing the submit.php under email notification but its giving me an error can anyone tell me what i'm doing wrong...

case $_TABLES['eventsubmission']:
case $_TABLES['events']:
$title = stripslashes ($A['title']);
$description = stripslashes ($A['description']);
$phone# = stripslashes ($A['phone#']);
$email = stripslashes ($A ['email']);
$#ofkids = stripslashes ($A['#ofkids'])

$mailbody = "$LANG09[16]: $titlen"
. "$LANG09[17]: " . strftime ($_CONF['date'],
strtotime ($A['datestart'] . ' ' . $A['timestart']));
if ($A['allday']) {
$mailbody .= ' (' . $LANG30[26] . ')';
}

$mailbody .= "n";
if (!empty ($A['url']) && ($A['url'] != 'http://')) {
$mailbody .= "$LANG09[33]: n";
}
$mailbody .= "n" . $phone# . "nn";
$mailbody .= "n" . $email . "nn";
$mailbody .= "n" . $#ofkids . "nn";
$mailbody .= "n" . $description . "nn";
if ($table == $_TABLES['eventsubmission'])
 Quote

Whoosh

Anonymous
I looks like you need a semi colon after the init of the $#ofkids variable.
 Quote

Jordan

Anonymous
Nah that didn't seem to work doesw anyone see anything else. i get this error

Parse error: parse error in /home/virtual/site55/fst/var/www/html/geeklog/public_html/submit.php on line 402
 Quote

All times are EDT. The time is now 03:40 am.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content