$value = "this is the value"; echo ("$value"); This is working fine but i need the value of $value as echo ('$value'); How can i concatinate this inside single quoute ' '; I need this in mail function to send email as $email , as email is entered by end user.
Variables are not parsed between single quotes. But you can do this: echo 'blah blah blah' . $value . ' blah blah'; PHP: