Jump to content

[SOLVED] Email string problem


graham23s

Recommended Posts

Hi Guys,

 

when a user egisters on my site i wanted an email also to be sent to myself i did this:

 

$to = ($email,"[email protected]");

 

and

 

$to = ("$email","[email protected]");

 

but both times i get an error:

 

syntax error, unexpected ','

 

i thought that was a valid piece of code have i missed something out?

 

cheers

 

Graham

Link to comment
https://forums.phpfreaks.com/topic/82845-solved-email-string-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.