interclubs
asked on
PHPFunction to create document.write
I am looking for a PHP function that I can call like this:
function DocumentDotWrite($variable ,$Maintain Lines)
Where I can pass in a variable, if MaintainLines is set to true, it will create a document.write('') for each line, if it is set to false, it will remove all line breaks and create 1 statement. I guess it probably probably has to escape some html or quotes as well?
function DocumentDotWrite($variable
Where I can pass in a variable, if MaintainLines is set to true, it will create a document.write('') for each line, if it is set to false, it will remove all line breaks and create 1 statement. I guess it probably probably has to escape some html or quotes as well?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.