Okay, so many of you guys still ask me about how to fix these warning messages in our Facebook scripts. Today I’m going to give you two possible fixes that you can do. By the way, here’s the warning message we want to remove: FIX IT BY ADDING A SESSION_START() You can fix it by adding… Continue reading Fixed: Cannot send session cache limiter – headers already sent
CakePHP Pagination is one of the fastest thing you can code with this amazing framework. In this post I’m gonna show you how you can create a pagination script in matter of few minutes, or even seconds! Cool? Let’s get started. This post is part of my CakePHP tutorial series, before you proceed to this,… Continue reading CakePHP 2.x Pagination Tutorial: Helper, Conditions, Limit, Sorting and More!
Introduction After installing CakePHP on your server, we now have to learn how to create CakePHP classes and its naming conventions. CakePHP uses Model–view–controller (MVC) software architecture which is really great. If you have no idea what MVC is, I think Wikipedia can give you a great overview. Also, you’re going to get the hang… Continue reading CakePHP Classes and Naming Conventions
Introduction Using CakePHP Framework is one of my most favorite things to do. This is the first PHP framework I worked with, and until now, I’m still delighted by it. Now it is time for me to share my knowledge in CakePHP web development. I think you are here because you already know what CakePHP… Continue reading How To Use CakePHP Framework, A Getting Started Guide!
Hello and welcome to the start of codeofaninja.com’s series of web development articles! Overview Setting up a development environment for PHP programming is easy. Download the code editor you prefer, I personally like atom.io text editor. Next is to install XAMPP, the most popular PHP development environment. This package contains Apache, PHP & MariaDB or… Continue reading How to Run a PHP Script? Step By Step Guide!
PHP Pagination is another very important feature when building any web application. When you grow your data, it must not be displayed on a single page – it can cause a browser hang or very long vertical scroll-bar, so in short, it is not good for the user experience. Video Demo Our final output. Pagination… Continue reading Simple PHP Pagination Script to Handle Your Growing Data
Our code for today will make your website URLs clean and attractive. Clean URLs are user and SEO friendly, it does not contain any query string like: …page.php?param1=something&id=1111 Thus, giving our users and search engines (like Google) an idea what your link is all about once it was shared to social media or indexed by… Continue reading Apache .htaccess RewriteRule Examples with PHP for Clean URLs
This post is about PHP Shopping Cart Tutorial using SESSIONS. Previously, we learned how to build a Shopping Cart with PHP & MySQL where we used a MySQL database to store products added to the cart. This time, we will use PHP session variables to store products added to the cart. Final output PHP Shopping… Continue reading PHP Shopping Cart Tutorial using Sessions