/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<? $this->EE =& get_instance(); $seg1 = $this->EE->uri->segment(1); $seg2 = $this->EE->uri->segment(2); ?>
URL: http://expressionengine.com/user_guide/templates/globals/url_segments.html