Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

it this right <? ....<? .... ?> ... ?>

Status
Not open for further replies.

johntafasi

Technical User
Feb 10, 2003
8
0
0
US
Hello Group,

Is it ok to embed a php code within another php code? Like this?

<?
.....
.....
<?
.....
.....
?>
.....
.....
?>

Thanks


John
 
That's wrong, besdes what would be the point?

If you have a [red]<?[/red] opening you are already inside PHP scope, so what's the use of opening the PHP if its is already opened.




----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top