Board index   FAQ   Search  
Register  Login
Board index php forum :: Database mySQL & php coding

parse error

Codes here !

Moderators: macek, egami, gesf

parse error

Postby jagjittcl » Mon Jul 22, 2013 8:11 am

Hi

On the below line it is giving me above error

mail(abcd@yahoo.com,"aa","bb","From : ".xyz@yahoo.com);

Thanks
jagjittcl
New php-forum User
New php-forum User
 
Posts: 9
Joined: Wed Jul 03, 2013 10:14 pm

Re: parse error

Postby pbs » Mon Jul 22, 2013 9:53 pm

give quotes around email addresses too

mail("abcd@yahoo.com","aa","bb","From:xyz@yahoo.com");
pbs
New php-forum User
New php-forum User
 
Posts: 39
Joined: Sat May 11, 2013 1:40 am
Location: Nashik, India


Return to mySQL & php coding

Who is online

Users browsing this forum: Exabot [Bot] and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.