inactive Posted April 4, 2008 Share Posted April 4, 2008 Hey guys, I know I must be doing something really stupid here, but my code below just shows up blank (and I have error reporting to E_ALL, so there's definitely no error ). The weird thing is I have done something similar before and it has worked fine... although that was a different server, so perhaps there is a php config setting somewhere I need to change... Anyway, <?php $my_var='<!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"> <beans> <bean id="csvOrderExtractProcess" class="com.salesforce.lexiloader.process.ProcessRunner" singleton="false"> <description></description> <property name="name" value="adlprocess"/> <property name="configOverrideMap">'; echo $my_var; ?> Just returns blank. Any ideas? Thanks, ~Mitch Link to comment https://forums.phpfreaks.com/topic/99481-solved-multi-line-string-displays-blank/ Share on other sites More sharing options...
doni49 Posted April 4, 2008 Share Posted April 4, 2008 What do you mean it's blank? Just that the browser doesn't display anything? Or that when you view the source code that's sent to the browser, it's blank? Link to comment https://forums.phpfreaks.com/topic/99481-solved-multi-line-string-displays-blank/#findComment-508994 Share on other sites More sharing options...
inactive Posted April 4, 2008 Author Share Posted April 4, 2008 Oh! Gah! Yes I knew I was an idiot. I was testing this output (before writing it to a file) and totally forgot that now its in a browser, it will be treated like mark-up lol... Yes, displays blank in browser, but shows up in the source (as it should). Thanks Don. [CLOSED] Link to comment https://forums.phpfreaks.com/topic/99481-solved-multi-line-string-displays-blank/#findComment-509000 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.