Here is the example snippet for highlighting current menu item using php.
Leave a CommentCategory: PHP Code Snippets
CodeIgniter : https://github.com/bcit-ci/CodeIgniter.git
Leave a Commentvar image = document.getElementById(‘my_image’); var width = image.naturalWidth; var height = image.naturalHeight;
Leave a Commentecho $currentScriptFileName = basename($_SERVER[‘PHP_SELF’]); // My Output : main.php echo $currentScriptFileName = echo basename(__FILE__); // My Output : main.php
Leave a Comment