The txt file contains spaces. & lt; br & gt; how can I output the file to the webpage without any restrictions? & lt ;? Php ***** & lt; br & gt; ****** if ($ a) {echo & quot; + & quot;} else {echo & quot; # & quot;} ***** & amp; txt files contain spaces,
How to export data to a webpage
PHP code
***** if($a){ echo "+"; }else{ echo "#"; } //***** *****?>
Similar to a txt file, php reads the.txt file and outputs it to the webpage in the same format.
------ Solution --------------------
Echo file_get_contents('a.txt ');
------ Solution --------------------
//*****
*****
if($a){
echo "+";
}else{
echo "#";
}
//***** *****
?>
------ Solution --------------------
...
------ Solution --------------------
PHP code
* ***** If ($ a) {echo "+";} else {echo "#" ;}// ********** TXT; echo htmlentities ($ text); # Page effect //*****
* *** If () {echo "+";} else {echo "#";} // ********** # Source code // ****** <br/> ****** if () {echo "+ ";} else {echo "#" ;}// ***** & nbsp; ******?>