lundi 30 mars 2015

Concatenating strings having dot(period) in php [duplicate]


This question already has an answer here:




Googled but couldn't find an answer.


I have



echo "<input type = 'text' value = ".$value." name = ".$input_id."/>";


$value or $input_id contains a dot which is conflicting with the dot used for concatenation. How do I escape it?


Thanks!


Aucun commentaire:

Enregistrer un commentaire