comma separated values in mysql query

Here i am showing you how to execute MySQL query finding values in a comma separated string and fetch accurate result which you looking for. If your table field contain a comma delimited string such as (1,2,5,,9,12,15) Each number representing the available ids of other table or other value of different table. get comma separated […]

SQL statement to retrieve names beginning with A

In MySQL use the ‘^’ to identify you want to check the first char of the mysql table filed then you can do like below example. SELECT * FROM `table_name` WHERE field_name REGEXP ‘^a’ If you want to check more then a alfa letters of the string then define the array [] of letters you […]

Php pdo prepared statements select insert update queries

Hi guys in last tutorial we was discuss on PDO query statements such as SELECT Query, INSERT Query, UPDATE Query and DELETE Query like that in this tutorial we will discuss on how to execute all PDO queries with prepared statements. Note : For PDO connection file click here. What is prepared Statements A prepared […]

php pdo queries statements select insert update delete

In last tutorial we discuss about PDO and how to create PDO connection file. In this tutorial i am going to teach you how to write down PDO query statements such as SELECT Single Row And Multiple Rows, INSERT, UPDATE Query And DELETE etc. SELECT QUERY USING PHP PDO Select table data into associate array […]

Selecting data from more than 2 tables or three tables using mysql joining

Here i am writing mysql joining query for fetching data from three tables, Some time we looking for fetch data from more then one or two tables separately for that some developer using nested queries means query inside query but this is not right way to do this. Here i taking three different name of […]

php mysqli conneection object oriented

Today we are show you how to create database connection with object oriented PHP features with mysqli type connection using php class and function. Here we are also going to display all the data of a table this table available in my local system database. We had done this before using a procedural way, but […]

Short Upcoming Birthday MySQL Queries

In this tutorial we are writing MySQL query to sort upcoming birthdays based on current date, here writing three number of queries these may be help of to reach your result. Query 1. Upcoming birthday MySQL Queries $sql = “SELECT * ,CASE WHEN BirthdayThisYear>=NOW() THEN BirthdayThisYear ELSE BirthdayThisYear + INTERVAL 1 YEAR END AS NextBirthday […]

Simple ajax php mysql login page

This tutorial will explain you, how to create a Login Script using Ajax with PHP MySQL. in this tutorial i am going to create a simple login form using php, mysql and ajax. in this tutorial i will explain you how to validate email and password. after submitted login detail form values send to main […]

Easy simple pagination using php and mysql

Pagination is simply a process of dividing your output contents in small modules and displaying them on different pages. For example,you can see Google search results where 10 to 15 search results are shown per page. Pagination make output more user friendly. Database Connectivity CODE <?php ob_start(); session_start(); $con=mysqli_connect(“localhost”,”root”,””) or die(mysqli_error()); mysqli_select_db($con,”practice”) or die(mysqli_error($con)); ?> […]

PHPKIDA Offering Free Tools:

INSTA DOWNLOADER

Download Instagram Videos & Photos.

Download Now

CURRENCY CONVERTER

Real Time Currency Converter

Convert Now

ROBOST.TXT GEN.

Robots.txt File Creater

Create Now

HTML MINIFIER

Compress yout HTML Code

Minify Now

CSS MINIFIER

Compress yout CSS Code

Minify Now

JAVASCRIPT MINIFIER

Compress yout JavaScript Code

Minify Now

Sign up for weekly update

Milkshake is almost ready. If you're interested in testing it out, then sign up below to get exclusive access.