Just to start, I know very little about PHP.
I am using Joomla 3.4.1 in combination with ZOO, and would like to extract the itemid (in this case 216) from a typical URL as that shown below:
http://www.linkindustry.com/index.php?option=com_zoo&task=item&item_id=241&Itemid=216
I have tried using the suggestion below, found within another PHP question, however it sadly does not work:
$db = JFactory::getDbo(); $articleid = JRequest::getInt('id'); echo $articleid;
Can someone point me in the right direction.
Many thanks,
Alec