If you want to pass segment value in your redirect URL using Codeigniter, then follow this example code.
First store the segment value in a variable. For example:
<?php $post_slug = $this->uri->segment(2); ?>
Now set segment variable to redirect URL.
<?php if(sizeof($rating_details)>0){ redirect('story/'.$post_slug.''); }else{ echo "something"; } ?>
You can take your game to the next level this have the all aspiration that you can get from this article along with them. I ah veto make report so I decided to read bestdissertation review that have the all data among the all projects that was good to read all aspects.
Question and answer is powered by AnsPress.io