Featured
-
Top 5 Features That Make Laravel the Best PHP Framework for Development
Laravel is a free open source Web Framework of PHP
by abhishek.tiwari.458 -
Best 5 Lightweight PHP Frameworks for REST APIs Development
Are you ready to develop the Rest AP
by ankur.kumar -
PHP: Full-Stack Framework vs Micro Framework
A web framework can be described as a software fra
by ankit.bhatia -
How to get facebook profile picture by Facebook App
If you would like to get your profile picture in f
by vivek.rastogi -
Creating RESTful API in cakephp
This tutorial will help you to learn how to create
by pushpendra.rawat
Tags
How to implement load more dynamic results functionality using jQuery, Ajax Php and Database?
To display or load more results, whether it is commenting on a blog website, like or images on social media or products on eCommerce website the best UX pattern for this is either pagination, a Load more button or infinite scrolling. In this tuto...
How to fetch data from two table in cake php
Suppose we have a table name player having field id, name of player, images, etc having some data .Now we have another table name playergallery having field like id, player_id, images, etc here player_id is foreign key and it is referencing to ta...
How to export data in PDF file from database
Data fetch from database according to the user's entry in the database table in the pdf format, benefit of using this format for saving our data in compact and secure form, this will help to user to store the data in the file. Here is simple ...
How to Create excel files in php
Applications that are written in php most of the times need to export data for some purposes. In this tutorial, we will learn "How to export that data in Excel CSV fomat?" CSV is known as the EXCEL spreadsheet that have the data in a gr...
Association in cake php
Association means relationship, It is a way that two table are connected to each other or linking model together, in cakephp the links between models are handled through association. User can understand it from the following table.
&...
Fetching data from databse in cakePHP.
Fetching a data in the form of table from the database can is explained here in this blog, User have to define a function in the controller with the same file name in which user are displaying table using HTML code, for example here it is 'fe...
How to Save data using cakephp
CakePHP will save model data as a snap to your database, User's Data will be ready to be saved in database it should be passed to the model’s save() method using this, in the giving format below. This is Controller action that uses a Ca...
How to Create Database in cake php
CakePHP database configuration details are in a file that is located at app/Config/database.php.
This database file user can edit the file in the notepad or sublime and can edit the feilds by which it will be connected to the database.Filling al...
How to insert values into database in php.
Inserting data to a database would be possible by using SQL statements, specifically the INSERT command. Data can be entered into the database using insert query into the function, here is simple line of code that will create a database usi...
Insert data into database from form in PHP
Below is a form which contain id field, name field, phone number filed, gender radio button and we are sending these data by using post method.
<form name="user_registration" method="post" >
Name: <input type="text" name...
Code to fetch form data to database
Here is a simple program code to enter the form data to the database using php.
HTML Code:
<!DOCTYPE html>
<html>
<head>
<title>Form To Db</title>
<style type="text/css">
.container{width: 80%;...
How to configure database in Codeigniter
Hello Readers,
In order to create any web application using Codeigniter framework or any other PHP framework we need to configure database .
We have the database file inside application folder of a Codeigniter framework , inside application...