How do I print a character variable within quotes using php function -


I need to get this output.

  The result is "random" safdsaf   

I am using this piece of code

    

but I am receiving it

  the result israndomsafdsaf   

I have to define random before printing it .

i.e. I do not want to change this piece of code

  & lt ;? Php $ x = "random";   

What should I change to get the desired output?

If you are using similar type of quotation marks, in this way, Delimiter:

  Resonance is "result \". $ X. "\" Safdsaf ";   

Or just use two sets of different quotes:

  resonance results ''. $ X '' 'safdsaf' ;   

Output of any line of code:

  The result is "random"    

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -