...

View Full Version : need quotes for var within text?



low tech
11-03-2010, 08:20 AM
Hi guys

Does the var inside this message text need to be in quotes or not?


$message = "

Thank you
-------------------------
Email: '$payer_email'
Password: passwordHere
-------------------------

You can now login here";


LT

abduraooft
11-03-2010, 11:31 AM
need quotes for var within text?

Does the var inside this message text need to be in quotes or not?
Sorry, your question is not clear. How would you need to get the output?

low tech
11-03-2010, 11:41 AM
Hi abduraooft


I will send a mail and the $message which contains text as you can see

I want to include the var '$payer_email' within the text

not sure if that needs quotes or not

my script is breaking and i'm debugging ---- trying to eliminate things really

LT

abduraooft
11-03-2010, 12:48 PM
my script is breaking and i'm debugging ---- trying to eliminate things really You don't need that quotes in the above unless otherwise you need them in the output.

low tech
11-03-2010, 03:09 PM
Hi

Thank you abduraooft


It is exactly as you say -- cheers

LT



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum