Jump to content

Recommended Posts

Posted

I just got a TCH site. I have a lot of code written which uses the <% %> style. Why isn't it being recognized as php? Am I going to have to turn it all into the other format (with the < and ? symbols)?

Posted

the ASP style PHP start and end tags <% and %> only work if PHP was compiled with the ASP style tags turned on. Apparantly tch didnt turn it on. I always use <?php and ?> because that is always gauranteed to work no matter what server my code gets put on.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...