Posts by Ujwal Kumar Sahoo

Author Biographical Info:

Create a simple contact form in PHP with MySQL

By Ujwal Kumar Sahoo

In this article, we will learn what is a contact form and how we can implement it using PHP. It requires an HTML page to get the data. So we will cover this article in 3 steps- Cre.... Read More

How to copy data from one table to another new table in MySQL using PHP

By Ujwal Kumar Sahoo

In this article, we will discuss how to copy data from one table to another in the MYSQL database using PHP. For reference, we are using the database(Codespeedy) which contains 3 t.... Read More

How to handle Exception in PHP?

By Ujwal Kumar Sahoo

In this article, we will learn how we can handle errors and exceptions in PHP. First of all, we have to understand what really an exception is. After that, we will learn how to do .... Read More

How to execute a JavaScript Function in PHP?

By Ujwal Kumar Sahoo

In this article, we will discuss how to execute a javascript function in PHP. Before that let us discuss what is exactly a javascript function. Then we will go for call a JavaScrip.... Read More

How to remove HTML tags from a string in PHP?

By Ujwal Kumar Sahoo

In this article, we will discuss how to remove HTML tags from a string in PHP.  Removing  HTML tags can be done in 2 ways- Using predefined method Using the userdefined method P.... Read More

How to find all the sundays of a year in PHP

By Ujwal Kumar Sahoo

In this article, we will discuss how to find all the Sundays of a year in PHP. PHP provides various methods to handle the date data in an efficient manner. How to find all the Sund.... Read More

Check if a string contains a specific word or not in PHP

By Ujwal Kumar Sahoo

In this article, we are going to see how to check if the occurrence of a specific word in a string using PHP. It can be done by matching the search string with the source string. W.... Read More

How to redirect to another page in PHP?

By Ujwal Kumar Sahoo

In this article, we will see how to move from one page to another automatically in PHP. Redirection is needed where the action is successfully done and we need to move to the start.... Read More