Posted by Geoff Berrow on 10/30/31 11:22
I noticed that Message-ID: <oq2dndVvafIpRETfRVn-og@comcast.com> from
Shelly contained the following:
>Why do the php code lines show up in the output?
At a guess you haven't put <?php and ?> around the code in decomp.inc
When doing an include or a require you effectively drop out of php. So
what you really have is:
?>
$num = $_SESSION['num'];
$var1 = $_SESSION['var1'];
<?php
hence the code is simply treated as plain html
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
Navigation:
[Reply to this message]
|