Hello, I am working on writing my first component. I have found some tutorials which have been very helpful, there is one thing I have not seen done. I am turning a script I wrote into a component. The script uses $_GET to pass some data back to itelf. I have found a way to do this with my component, but I think that there is probably a better way to do it.
What I am doing is the following:
Code:
echo "<a href=\"$mosConfig_live_site/index.php?option=com_my_component&Itemid=39&myParam=ShowMeSomeText\">Show me some text!</a>";
This works, but it does not seem to be a very good way to pass the data. Can anyone show me a better way?