Jump to content

Archived

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

mariocesar

[Resolved] How can I fix this line

Recommended Posts

Please help, I got this message:
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/content/m/a/r/mariocesar/html/qteuploadcode.php on line 73

in this line:

[code]<?
mail($toAddress,$recipientSubject,$mailContent,"From:$row['email']");
?>[/code]

thanks.

Share this post


Link to post
Share on other sites
need to throw in some { } around your variable there, to keep php from being confused.

[code]
<?php
mail($toAddress,$recipientSubject,$mailContent,"From:{$row['email']}");
?>
[/code]

Share this post


Link to post
Share on other sites

×

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.