Apna Code

Code, Tutorials and Snippets by Adeel Sarfraz

  • Home
  • About Us
  • Contribute
  • Contact Us
  • Privacy Policy
  • Terms and Conditions

Code Igniter

List of available hooks in Code Igniter and their uses

December 18, 2018 Adeel Sarfraz 0

pre_systemFirst hook in the sequence of seven hooks run by Code Igniter on every request of a web page. Benchmark and hook classes have been […]

Two ways to enable database caching in Code Igniter

December 18, 2018 Adeel Sarfraz 0

Database caching is a good feature to enable/activate if you feel that your database is heavily taxed and you want to lessen some of the […]

No Image

How to create custom 404 error handler in Code Igniter

December 3, 2016 Adeel Sarfraz 0

If you have ever coded in Code Igniter then you may have come across the 404 error page which is displayed by default when a […]

No Image

How to disable database error messages on web page in Code Igniter

August 9, 2016 Adeel Sarfraz 0

By default Code Igniter displays the database error message on the web page if there is an error in the SQL statement. This is OK […]

Recent Posts

  • How to fetch visitors location using ip2location in Laravel
  • How to add ip2location library support in my Laravel website code?
  • How to remove a specific key from a query string using PHP
  • How to export to Excel from HTML using PHP
  • How do I use separate columns for month, day and year and use them as one date field in SQL

Code Gallery

Apna Code Scripts - where you can view all scripts coded which you can use on your website.

Copyright © 2019 | WordPress Theme by MH Themes