- How to display PDF/Word File in browser
In my current project I don't want to keep PDF and DOC file on server or open due to security purpose so I want a system where only login user can ...
- PHP and SAP integration Requirments
Only three things required for PHP and SAP integration.Apache HTTP ServerPHP version 4 or 5SAPRFC for PHPSetting PHPRC VariablDocumentRoot "T:/we ...
- Disable form autofill in Chrome for Email and Password autocomplete
I want to disable form autofill in Google Chrome browser. The autocomplete="off" tag wont work now. To do this you need to ...
- How to Display Alert Message Box in PHP?
Alert Message Box in PHP Alert boxes are used for displaying a warning message to the user. As you know that PHP does not have the feature to ...
- How to Solve PHP Notice: Undefined Index?
While working in PHP, you will come across two methods called $_POST and $_GET. These methods are used for obtaining values from the user through a fo ...
- How to Call a JavaScript Function from PHP?
PHP is a server-side programming language which means it executes at the server end and it will return the HTML code. On the other hand, Javascript is ...
- PHP in_array Function
Definition PHP in_array() is an inbuilt PHP function which is used to check if a specific value exists in an Array or not. Syntax in_ ...
- Fatal Error: Uncaught error: Call to undefined function mysql_connect()
Uncaught error: Call to undefined function mysql_connect() In this article, we will learn about the uncaught error “Uncaught error: Call to u ...
- PHP filter_var () Function with Examples
What is filter_var()? filter_var() is a PHP function used to filters a variable with the help of a specified filter. In PHP programming l ...
- PHP count() function with examples
What is count() function in PHP PHP count() function is an in-built function available in PHP, which counts and returns the number of elements in a ...
- strpos() Function in PHP
PHP strpos() function The strpos() function in php is used to find the first occurrence of a substring in a string. it returns numerical value of t ...
- PHP explode() Function with Example
What is explode() function in PHP The explode() function is a binary-safe function in PHP, which used to break a string into an array. It brea ...
- Fetch Data From Database in PHP and Display in HTML Table
There are few methods using which you can use fetch data from database in PHP and display it into HTML table. In this tutorial, we have explained the ...
- PHP strtotime() function
What PHP Strtotime() Function? PHP strtotime() function is an in-built PHP function which is used to convert the English textual DateTime into Unix ...
- PHP implode() Function
What is implode() function in PHP The implode() function is a binary-safe function in PHP, which used to join elements of an array. It merges ...
- Error: upstream prematurely closed FastCGI stdout while reading response header from upstream
A very common error encountered within an Nginx and PHP-FPM setup is “upstream prematurely closed FastCGI stdout while reading response header f ...
- Notice: Array to string conversion in PHP
In this article, we will take a look at the Array to string conversion error in PHP and try to solve it. This error comes when we try to print ar ...
- How to Create Pagination with PHP and MySql
In this tutorial you will learn how to create pagination for listing pages using PHP and MySql. What is Pagination? It is possible that one can ...
- Notice: Undefined Variable in PHP
Notice: Undefined variable This error means that within your code, there is a variable or constant which is not set. But you may be trying to use t ...
- PHP: Convert String to Number
While programming in PHP, there might be a situation where you have to convert a string into an integer. But we know that PHP does not need or support ...
- array_push() function in PHP
array_push() in PHP Php array_push() function is used to push(add) one or more new elements onto the end of the array. Due to the addition of these ...
- PHP file_get_contents
The file_get_contents() is an inbuilt PHP function used to read file into a string. This function uses the memory mapping technique to enhance the per ...
- What is 'mysqli_fetch_assoc() expects parameter 1 to be mysqli_result' Error?
The mysqli_fetch_assoc() expects parameter 1 to be mysqli_result error is common in PHP programming. It is raised when the mysqli_fetch_assoc() m ...
- Get the Current URL of Webpage in PHP
If you are browsing a webpage or a web application, PHP will store a lot of useful information in the background. This information gets stored in PHP& ...
- Error:MAIL not accepted from server,530,5.7.0 Authentication Required.
In this article, we will focus on the Mailer error: The following From address failed: info@abc.com : MAIL not accepted from server, 530,5.7.0 Authent ...
- Convert PHP object to array
When users need to store multiple elements within a single element, they use an array. We all know PHP is an Object Oriented Programming language. ...
- Notice: Undefined offset error in PHP
Notice: Undefined offset This error means that within your code, there is an array and its keys. But you may be trying to use the ke ...
- PHP Warning: Invalid argument supplied for foreach()
At some point in the life of a PHP developer, he will come across the error “Warning: Invalid argument supplied for foreach()". This error ...
- Your PHP installation appears to be missing the MySQL extension, which is required by WordPress.
If the following error occurred, which means there is some problem with your PHP version or MySql extension. Your PHP installation appears to be mi ...
- How to Call PHP Function from JavaScript?
As we all know that Javascript is client level scripting language and PHP is Server level programming language. In this tutorial we aim to throw light ...