insrtsnhere13 Posted May 4, 2006 Share Posted May 4, 2006 Hey, recently installed php on my laptop and I cant do something like this...<?code?>html code<?code?>if have any other <? ?> on a page otehr than the first two, it doesnt parse anything after the added tag...this is make my include not working.. cuz some of my include are php scripts so i have to have the tags in there and when they get included the added tags messes up everything..please help! Quote Link to comment https://forums.phpfreaks.com/topic/9077-cant-end-and-reopen-php-tags/ Share on other sites More sharing options...
Guest askjames01 Posted May 4, 2006 Share Posted May 4, 2006 what OS are you using?did you install IIS or APACHE already before PHP?did you save your php into .php extension file name? Quote Link to comment https://forums.phpfreaks.com/topic/9077-cant-end-and-reopen-php-tags/#findComment-33384 Share on other sites More sharing options...
kenrbnsn Posted May 4, 2006 Share Posted May 4, 2006 You may have short tags disabled in your PHP.INI file.Try using <?php and ?> for your tags.Ken Quote Link to comment https://forums.phpfreaks.com/topic/9077-cant-end-and-reopen-php-tags/#findComment-33387 Share on other sites More sharing options...
wildteen88 Posted May 4, 2006 Share Posted May 4, 2006 I would recommend you to not use the <? ?> tags. But use the full tags <?php ?>. As one, not all webhosts support the short tags and two its comes down to laziness! (only kidding). Quote Link to comment https://forums.phpfreaks.com/topic/9077-cant-end-and-reopen-php-tags/#findComment-33401 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.