Sunday, 31 July 2016

How to print a text on a image using PHP as watermark

elephant_php1_by_evadollsart-d86pkel.jpg

If you are looking to learn how to print the text over a image as a water mark then this blog is very helpful to you.

Fixing a watermark on image can be used by PHP. So first we will learn how this process going in action.

You need to create HTML form just as we develop for image uploading.

We will start building the uploading and watermark process in the file with name imageUpload.php and its code.

Wednesday, 13 July 2016

How to use joins with CakePhp in 2.x version?

cakephp-1280-1024.jpg

Today we are going to discuss how to use joins with  CakePhp  in 2.x version?

Join is a very important feature for retrieving data from database with multiple tables. In a web application when we want to fetch multiple records from 3-4 tables then we should use join for fetching record because joins returns all records from 3-4 tables just on a single quires.

In other words we can say that joins are used for combining rows from two or more tables.  joins commands are used for more complex queries in database management system.

Read more about How to use joins with CakePhp in 2.x version? Visit Findnerd

Tuesday, 5 July 2016

Drag, Drop, Sort and Save using jQuery in CakePHP


logo.jpg
To implement drag and drop in cakephp using jquery, you need to follow following steps.

Step 1: Make index.ctp and add following code in it.

Step 2: Make UsersController.php, and add the following in it.

Read more about Drag, Drop, Sort and Save using jQuery in CakePHP visit Findnerd.