Login
|
Register
Home
Products
AjaxChat 2.0
Instant Messaging
Joomla Templates
Joomla
Joomla Tag Cloud
Joomla Tidy Plugin
Joomla Speedy Plugin
Joomla HTML Module
Joomla Tagbot Plugin
Joomla PHP Plugin
Joomla PHP Module
Joomla Geshibot Plugin
Joomla PHP Pages
OpenFire Joomla Plugin
Article Access Plugin
Services
Joomla Development
Web Design
Contact
Forum
Fiji Web Design
Forum
Threaded View
Welcome,
Guest
Please
Login
or
Register
.
Lost Password?
Fiji Web Design
Open Source Joomla Products
PHP Module
Variable in URL (1 viewing)
(1) Guest
Favoured: 0
TOPIC:
Variable in URL
Forum Tools
Post New Topic
Pdf
Show latest posts
#1072
thibzh
(User)
Fresh Boarder
Posts: 1
Variable in URL
2 Years, 3 Months ago
Karma:
0
Hi,
Is it possible to use the get function to take a variable in the URL.
For example, with this link <a href="index.php?option=com_test&
catid
=100">Paris</a>
is it possible to use the get function into the module like this to take the catid variable?
<?php echo 'test - '.$_GET['catid']; ?>
Thank you,
Thibzh
Report to moderator
Logged
The administrator has disabled public write access.
#1073
admin
(Admin)
Admin
Posts: 475
Re:Variable in URL
2 Years, 3 Months ago
Karma:
10
Yes, you can. You can also use the Joomla API which would be the recommended way:
$catid = JRequest::getInt('catid');
Report to moderator
Logged
The administrator has disabled public write access.
Forum List
Open Source Joomla Products
PHP Module
Board Categories
Commercial Joomla Products
... Joomla Ajax Chat
Open Source Joomla Products
... PHP Speedy Plugin
... PHP Tidy Plugin
... Joomla PHP Plugins
... TagBot Plugin
... Geshibot Plugin
... HTML Module
... PHP Pages Component
... Joomla Tag Component
... Joomla OpenFire Plugin
Powered by
FireBoard
Products
AjaxChat 2.0
Instant Messaging
Joomla Templates
Services
Web Design
Joomla Development
Support
Forum
Help Desk
Contact Us
Joomla Downloads
Download our free Joomla! Components, Modules and Plugins.