• Register

Recent Posts

20 views

PHP is an open-source tool for MYSQL database management. We can manage the database easily like create, delete, drop, import, export, or alter. Sometimes the user is facing an...

posted May 18 in php Farkhanda Athar 3,890 points
38 views

The user login id can be accessed by different methods. But the best way to get the logged-in user ID is by using get_current_user_id() function. This method will return the...

posted May 18 in php Farkhanda Athar 3,890 points
33 views

In this lesson, we will see How we can convert pdf to Jpeg in php using Imagick. PHP provides some good native extensions for image processing. Imagick is from one of them....

posted May 18 in php Farkhanda Athar 3,890 points
74 views

In this article, we learn how to save pdf files in folders by using php. FPDF is a PHP class that allows you to generate PDF files. FPDF does not depend upon the additional PHP...

posted May 18 in php Farkhanda Athar 3,890 points
43 views

In this article, we will learn the difference between call by value and call by reference in PHP.

Call by value:

In call by value, the variable is...

posted May 17 in php Farkhanda Athar 3,890 points
22 views

Mail() function have simple implementation as shown in the sample below:

<? mail(recipient@recipient.com, “Message”, “A simple...
posted May 17 in php Farkhanda Athar 3,890 points
37 views

In this article, we will learn the difference between the echo and print_r in php.

Echo:

The echo is not a function, it is described as a language...

posted May 17 in php Farkhanda Athar 3,890 points
65 views

Every web application consumes resources of the server. Sometimes buggy applications create resource crunch on the server and result in a memory error.

posted May 17 in php Farkhanda Athar 3,890 points
19 views

In this lesson, we will learn how to drag and drop table row sorting in pho without refreshing the page. For this purpose, we use the Sortable() function. This function can...

posted May 17 in php Farkhanda Athar 3,890 points
89 views

Requirements:

1. Dowmload the mPDF library and extract it.

2. Create a file...

posted May 16 in php Tushar Shuvro 31,120 points
17 views

Solution:

STEP 1: Using empty() function 

Syntax:

bool empty( $var...
posted May 16 in php Tushar Shuvro 31,120 points
24 views

Solution:

STEP 1: MySQL Object Oriented

Code:

posted May 16 in php Tushar Shuvro 31,120 points
20 views

Solution 1: Using predefined method. strip_tags() methods removes the remaining html tags 

Syntax:

posted May 16 in php Tushar Shuvro 31,120 points
18 views

Solution 1: Using substr and mb_substr commands

substr($string, 0, -1); mb_substr($string, 0, -1);
posted May 16 in php Tushar Shuvro 31,120 points
12 views

The move_uploaded_file() function and rename () function is used to remove a file into another folder on the server.

posted May 16 in php Tushar Shuvro 31,120 points
11 views

Solution:

STEP 1: index.php

Code:

<?php //index.php ?> <!DOCTYPE html> <html> <head> <title>PHP...
posted May 16 in php Tushar Shuvro 31,120 points
166 views

Solution:

Code:

<?php function numberTowords($num) { $ones = array( 0 =>"ZERO", 1 => "ONE", 2...
posted May 16 in php Tushar Shuvro 31,120 points
54 views

Solution:

STEP 1: Call fpdf.php class

Code:

posted May 16 in php Tushar Shuvro 31,120 points
21 views

Today we will discuss about passing javascript variable to php in the same page.

Solution:

posted May 16 in php Tushar Shuvro 31,120 points
17 views

Sometimes we want to display the image which we uploaded. When we upload image we use :

Read More ...

posted May 16 in php Tushar Shuvro 31,120 points