Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Banned
    Join Date
    May 2008
    Posts
    105
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Error and i don't understand.

    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:

    PHP Code:
    $from "From: ".EMAIL_FROM_NAME." <".EMAIL_FROM_ADDR.">"
    and the code i have put in is:

    PHP Code:
    $from "From: ".ConnorOwner 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

  • #2
    New to the CF scene
    Join Date
    May 2008
    Posts
    4
    Thanks
    0
    Thanked 1 Time in 1 Post
    PHP Code:
    $from "From: Connor, Owner of Pokemon Oracle <spikey.man@hotmail.com>"
    Note: Please differentiate between variables and string values.

  • Users who have thanked o0DarkEvil0o for this post:

    9homie (05-20-2008)


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •