is any way to make variable with double quation marks value like
$var = ".(34).".$value.".(34).";
variant of two similar chars like ' is not solved my problem
maybe someone can something advice to me with this ?
is any way to make variable with double quation marks value like
$var = ".(34).".$value.".(34).";
variant of two similar chars like ' is not solved my problem
maybe someone can something advice to me with this ?
You mean assign the " character to a variable? Sure, just escape the quote...
$var = "\"$othervars\"";
Not sure if that's what you're looking for...but the \ escapes the character that immediately follows it...so if you don't want php to pay attention to your quote, use \"
Escape characters are only necessary in strings enclosed in double quotes, which PHP will attempt to parse. If your string is in single quotes, php will happily accept embedded double quotes (it just won't detect variables!):
echo 'This "might" be a good day to die...';
Of course, you can also use [man]chr()[/man] to return a specific character:
echo 'But '.chr(34).'I'.chr(34).' would rather not find out!';