...

View Full Version : Error and i don't understand.



9homie
05-20-2008, 07:02 PM
Hello.

I AM a new person to start with coding, as you can see from my name propping up everywhere.

Well, this is a login script and on the mailer.php page, that sends the email to the user for confirmation.

So the real script is:



$from = "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">";


and the code i have put in is:



$from = "From: ".Connor, Owner of Pok&eacute;mon Oracle." <".spikey.man@hotmail.com.">";


and the error is:

Parse error: syntax error, unexpected ',' in /home/a8546868/public_html/mailer.php on line 25


So does anyone know what is going wrong? I also don't know what the error means. Please explain and answer.

Thank You in advance
9homie

o0DarkEvil0o
05-20-2008, 07:16 PM
$from = "From: Connor, Owner of Pokemon Oracle <spikey.man@hotmail.com>";


Note: Please differentiate between variables and string values.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum