php embedded to a page problem Topic is solved

General project discussion. NOT for help questions.
Post Reply
Eli

php embedded to a page problem

Post by Eli »

I am new to cmsms  I want to embedded a php code in a cms page. I do the
following.
1. I define a new "user-define tag" with my php code (without php quote)
2. In my page I write {my_tag}

my php code contain a call to itself via a html form
(the user can decide the ORDER field of one table).

http://www.mysite/index.php?page=48&order=1
the problem is the variable such as order are never pass to my php code, is there is away to do what I want? I am open to any suggestion.
Eli
jelle

Re: php embedded to a page problem

Post by jelle »

Where are you looking for your variable? You know that since php 4.0 php does not translate arguments in the url to php variables anymore?
You should be able to find them in $_GET['order'] I think.
eli

Re: php embedded to a page problem

Post by eli »

thanks its working!!!
Post Reply

Return to “General Discussion”