I’m trying to use a PHP variable to add a href value for a link in an echo statement. Here’s a simplified version of the code I want to use. I know that I can’t just add the variable into the echo statement, but I can’t seem to find an example anywhere that works. Answer Try like HTML in PHP
Tag: double-quotes
Remove double quote in json_encode()
I want remove double quote in my json_encode, that is my code: My result is that: I want to remove double quote of “id_posiciones” and “device_version” too. How can I do for the result is that: Answer If you add an underscore to your regex at the end it will do it. I assume that’s what that preg_replace is for