Search results

  1. Z

    How can I put in HTML a string with spaces?(PHP)?

    I want to take from a MySQL database a text and put it with PHP in HTML syntaxes. The problem is that if I use ~echo $string;~ will not appear spaces and indentations, because that is the way how HTML works. If I use ~echo "<pre>".$string."</pre>";~ I am getting spaces and indentations, but I...
Back
Top