Posted by Bob Marley on 01/12/06 03:32
would anyone please tell me why this code works in 4.X, 5.0.X and not in
5.1?
<?php
function myfunction(){
*** php code ***
?>
<a href="bla.bla">bla</a>
<?
*** php code ***
}
?>
when i run it under 5.1 i get the error "Parse error: syntax error,
unexpected $end in" on the last line of the file. i drop the embedded
html and it works fine.
i know doing it this way is kinda sloppy and on my list of things to
fix, but that can't be done right now. is there some setting in 5.1
where i can turn this back on or do i have to downgrade to 5.0 again.
thanks
willie
Navigation:
[Reply to this message]
|