I'm trying to input an email form (Using PHP mail function). I've got it working on existing forms but I'm doing a new one.

I get this error:

Parse error: syntax error, unexpected T_LNUMBER, expecting T_VARIABLE or '$' in /home/user/domains/domain.com/public_html/includes/common.inc(1645) : eval()'d code on line 21

I can edit the page with some different PHP from a different form and it works fine. However after looking through all of my PHP I see nothing wrong.

Not sure what to do now!

Comments

zac-2’s picture

Bump on this!

zac-2’s picture

Actually I found the problem. It was in my PHP.

But I don't realize what's wrong with this??? Does $23 mean something???

$23 = $_POST['23'];