How to publish status on Facebook Pages using Graph API

In this article I'm show how to publish status on  Facebook Personal Profile, Fan Pages or Business Pages using Facebook Graph API. Create an Facebook App Sign in to your Facebook Developers account and create a Facebook App. click the ‘Add a New App’ as shown below: Enter "App Name" ckick "Create App

Simple PHP MySQL Pagination Script

Pagination is a frequent requirement part for listing large number records from the database. In this post we will see how to implement pagination for your web development projects. Consider a student profile database with three columns (Register Number, Name and Class).  We will display only 10 records per page. The pre

Alternative for Common Table Expressions (CTE) using PHP & MySQL

In Relational database storing tree data is a common problem. Generally table represent as rows and columns. It is not suitable for represent tree data. Multiple solutions are available to store tree data in the database. In this articles, we'll explore tree (hierarchical) data using Adjacency List Model approach in

PHP file inclusion function include() vs require() vs include_once() vs require_once()

PHP file inclusion function include() vs require() vs include_once() vs require_once()

In PHP, insert the same PHP, HTML, or text on multiple pages using include(), include_once(), require() and require_once(). In this article we are going to see real differences between them with an example. Menu page menu.php <?PHP echo '<a href="home.php">Home</a> - <a href="about.php">About</a> - <a href="contact.php">Contact</a>'; ?> include function When you want to include a file within

Upload multiple files using PHP

http://www.tricing.com/upload-multiple-files-using-php/

In my previous post, upload a single files, rename a file, file size validation, file type validation. In this, How to upload multiple files using  PHP.  Link for previous posts as follow. Click here - Upload a single file using PHP Click here - Upload a single file using PHP - II

Upload a single file using PHP – II

Upload a single file using PHP

In the previous post, we've seen how to upload a file using php. In this post, how to rename a file and validate file size and type. Rename a file First, lets create the form with enctype "multipart/form-data", method "post"  and input tags file, submit using the html: <form method="post" enctype="multipart/form-data" > <input type="file"

PHP MySQLi Create, Read, Update and Delete – 2

php-mysqli-crud

In previous tutorial how to creating a connection, creating a database, creating a table using PHP MySQLi. Click here to view. In this tutorial, I have to share how to Inserting data Reading data Updating data Deleting data Deleting a table Deleting a database Inserting data Syntax for the insert data in to a table. $sql = " INSERT INTO table_name (

PHP MySQLi Create, Read, Update and Delete – 1

php-mysqli-crud

For dynamic website, web application MySQL play an important role. The term MySQLi means MySQL Improved. MySQLi work with MySQL version 4.1.13 or newer and PHP version 5.0.0. Today I will share how to create, read, update and delete (CRUD) data in database using PHP MySQLi. In this tutorial. How to,

Top