[Resolved] Displays PHP Code
I have a script that uses a GET variable. If there is no GET variable ( mysite.com/widget/ ) it displays what I would expect. If I do use it though, ( mysite.com/widget/?id=5 ) then it displays all the PHP code, including the [insert_php] parts. It also works fine if I use a made up GET name like mysite.com/widget/?madup=5.
I put the code in the HTML section of the page, not the View part, and the PHP code works fine if I put it in it’s own file and execute it. Any idea what could be wrong?
- The topic ‘[Resolved] Displays PHP Code’ is closed to new replies.