php - How to put a variable in quotes? -


i have variable $teste = hiiiii

i need put variable inside quote , double quote. this:

"'$teste'" value "'hiiiii'"

i'm trying concatenation not working. how that???

you can escape quotes:

echo "\"'$teste'\""; 

will print out: "'hiiiii'"


Comments

Popular posts from this blog

mod rewrite - Using "?" when rewriting the URL -

Admob integration with pygame in android -

python - duplicate table (identical) including primary key - using django south -