Jump to content

Can a post be used in the subject of a email header


deemurphy

Recommended Posts

Yes, of course it can. Your syntax is a little off though it will still work.

 

$subject = "Request For Vending Services Category Name: {$_POST['categoryName']}";

 

or....

 

$subject = "Request For Vending Services Category Name: " . $_POST['categoryName'];

 

Are the correct syntax however.

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.