Re: Parsing PHP variables in XML document

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ivan,

Did you try entering the code with debugger, or at least printing out what output buffer was holding, ie $content var in my example? Can you post exact code? Also, is short_tags turned on or off in php.ini? If it is on, php will get confused on first line of your xml file, it will think that <?xml is a php openning tag.

In your original code you were calling the parser that was expecting $foo3 to be set, but you were setting the $foo3 *after* parsing, are you sure you're not making a mistake like that again?

Ivan Nedialkov wrote:
Well isn't there a way instead of using only variables, to use sth like
<?php echo $foo; ?>
I tried it but it doesnt work
The parser returns blank!
--

   Open source PHP code generator for DB operations
   http://sourceforge.net/projects/bfrcg/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux