How to Create Database Using Mysqli or PDO in PHP?

More than one MySQL databases are also created in PHP.MySQL Database; The ‘CREATE DATABASE database_name’ statement is used to create. Creat Database using MySQLi Code : <?php $server = “localhost”; $user = “root”; $password = “”; $conn = mysqli_connect($server, $user, $password); if($conn){ echo “Connected successfully.”; } else{ echo “Connection failed : “.mysqli_connect_error(); } $createdb = […]

See More

How Can I Send Email Using mail() Function in PHP?

PHP provides you with built in mail () function to send emails. The general syntax of this function is given below. Keywords :- Send Email Using Mail() Function by PHP, How to Send Email with Mail() Function Using PHP PHP Mail Function Syntax mail(to,subject,message,headers,parameters); In PHP, 4 parameters are passed inside the mail () function […]

See More

Inheritance in PHP

Inheritance is an object oriented programming feature. Just as a child inherits the inheritance of his parents, in the same way a class can inherit the properties and functions of a different class. The class which is inherited is called parent or base class. Inherit-to-class child or sub-class is called. Instead of using properties and […]

See More

Abstract Classes

Introduction to PHP Abstract Classes The abstraction is a process in which the programmer hides the unnecessary data and only shows the data that is in the context of the end user. This reduces the complexity of the program and makes it easier to use.The abstract classes and methods have been introduced in PHP5. Abstract […]

See More

How to Download TikTok Videos from tiktok.com?

“Tiktok Video Downloader, Download Tiktok Video online, Free Online Tiktok Video Downloader, Tiktok Video Download App, Free Tiktok Video Downloader” Friends, tiktok has become quite popular in today’s days.Everybody makes their funny videos on YouTube or sharing on whatsapp. But how to download these videos without installing the tiktok app. So friends, today I will […]

See More

Deleting Rows From MySQL Tables

If you want to delete a row of the table, you use the DELETE statement for it. This statement deletes the entire row. But if you want to delete the row without deleting its data, then you should use the TRUNCATE statement for it. You will be told about this statement further. With the DELETE […]

See More

Updating Data in MySQL Tables

UPDATE statement rows are used to modify the content. With this help, you can update the values ​​of columns. The general syntax of this statement is given below. mysql> UPDATE <table_name> SET column_name = value WHERE column_name = value; With the UPDATE statement you use SET and WHERE clauses. Through WHERE clause, you have to […]

See More

MySQL ORDER BY Clause

Whenever a MySQL statement is executed, its result is displayed. But this result is not in a particular order. The rows that are true for the statement are returned one after the other. For example, if you want a list of category name names from category table, the name will be displayed in the order […]

See More