Closed GoogleCodeExporter closed 9 years ago
Agreed. I was already considering making it optional.
Original comment by seancorf...@gmail.com
on 3 Jun 2007 at 4:02
<?php ... ?> is optional now.
Original comment by seancorf...@gmail.com
on 3 Jun 2007 at 8:24
The updated example no longer uses <?php ... ?> but the code still works.
Original comment by seancorf...@gmail.com
on 3 Jun 2007 at 8:26
I realized that <?php ... ?> is needed - what goes between <cf_php> ...
</cf_php> is
a full PHP page that includes both HTML and PHP code. I've reverted the change
and
updated the example to make this clearer. For example:
<cf_php>
<p>Hello <?= $_COLDFUSION["name"] ?>!</p>
<?php
$n = $_SESSION["count"];
if ($n == 0) $first = 1;
... lots more PHP code ...
echo $n;
?>
<p>More HTML</p>
</cf_php>
Original comment by seancorf...@gmail.com
on 3 Jun 2007 at 9:14
Original issue reported on code.google.com by
ksakai.b...@gmail.com
on 3 Jun 2007 at 7:11