Lets take an example that we have two table one have record of students and other have id which have to delete in table 1, so we write query like this:- DELETE FROM table_1 WHERE…
Posts published in “PHP”
No input file specified – Codeigniter issues:- this issue sometimes caused by the .htaccess file, so change your .htaccess file to the below code RewriteEngine onRewriteBase /RewriteCond %{REQUEST_FILENAME} !-fRewriteCond %{REQUEST_FILENAME} !-dRewriteRule ^(.*)$ index.php?/$1 [L] Also…
In this tutorial, you will know how to export a query result in excel CSV from MySQL PHPMyAdmin. Sometime we need to just export the query result in excel or csv for reports purpose or…
Sometime while working with function in php, we want to know that how many argument is passing in a function or a variable parameter. For solving this situation we need to count the variable parameter…
Sometimes we need to convert an array into a string with some separator parameter, and also convert a set of comma-separated string into an array, to make this possible PHP has two functions:- Explode Function…
In this tutorial, we are going to know how to send emails using Sendgrid in PHP. SendGrid is a customer communication platform marketing email. For PHP, SendGrid also provides its library that can be used…
In this tutorial, we are going to upload an excel file and parse its data and store it in a database by using SimpleXLSX. SimpleXlsx Class Parse and retrieve data from Excel XLSx files, and…
In this tutorial, We are going to know how can we get the IP address of the client in PHP, IP address is very important for the client that make personalize the experience of a…