Quantcast
Channel: CodeGround » CodeIgniter
Browsing all 5 articles
Browse latest View live

How to Update Database field value +1

Use direct database Update instead of Model to increment a field +1 I always use the CodeIgniter models to do all the MySQL querys (insert, select, updates…) but this won’t work if you want to update a...

View Article



How to Multiple File Upload with CodeIgniter

Upload multiple images in one same form is not that simple. In your Controller function you have to initialize the upload for each file. And the same if you want to Resize Multiple Images, you will...

View Article

How to Speed Up CodeIgniter

3 Simple steps to speed up your CodeIgniter applications. HTML, Page Caching and Gzip. 1. Compress HTML output We will need to create a hook. This hook will remove any whitespace in the HTML output. Go...

View Article

Image may be NSFW.
Clik here to view.

How to Upload mp4 – CodeIgniter mime type

If you want to upload a file with CodeIgniter you should read my old post about it first. Config Arguments So, if you want to be able to upload mp4 files you have to tweak it a little bit. When you...

View Article

Image may be NSFW.
Clik here to view.

How to create a 404 page in CodeIgniter

One of the must have in CodeIgniter is a custom 404 error page. It’s really easy to do and it makes huge impact for the user. 1. Create a new Controller Create a new controller custom404.php and fill...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images