Check the error log in Apache... does it say anything? Did you configure Apache to interpret .phtml files as PHP files? It's possible you don't see anything because your browser interprets whatever is between <? and ?> as an HTML tag but can't make ends of it. If you view the source code of the HTML page from the browsers, chances are you'll see your PHP code in there, even though the browser doesn't show it.
Marco On Thu, 2002-10-10 at 12:49, P I wrote: > Hello! > > I compiled apache 2.0.42 and php 4.2.3 under Mandrake7.1 with the basic > config options that are in the INSTALL files. I made it without any > problem, but I noticed the following strange things: > > If I call a php page that consists of only php source, it works good, so > the file that contains: <? echo "test..."; ?>, displays in the browser > test... > > BUT, if I make a phtml page with html source in it, ie: > <table><tr><td><? echo "test..."; ?></td></tr></table> makes a table > without any content (<table><tr><td></td></tr></table>), so it seems > apache forgets to wait until the php parser do its job. > > Have anyone met with this thing? I don't understand it and didn't have > this problem before. > > Yours sincerely, > patis > > ________________________________________________ > http://mailbox.hu - Már SMS értesítéssel is! > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php