Joomla web design

<?php

 $pulledId = JRequest::getVar('id');
 if ( strpos($pulledId,':') > 0 ) {
  $pulledId = substr($pulledId,0,strpos($pulledId,':'));
 }
?>

or

$secid = JRequest::getVar( 'id', 0 );
© Toffy digital 2017 Powered by Toffy Digital