URL rewriting in a Core PHP website can be implemented by creating a .htaccess file in the website’s root directory and adding the necessary rules. Here are the steps to follow: To…
Month: April 2023
How to start a new page for printing from a particular part of a page in PHP?
If you want to print output from a PHP page and you want to start the new page for printing from a particular part of a page in PHP, you can use…
How to pass user id from PHP code to modal?
To pass a user ID from PHP code to a modal, you can use HTML data attributes. Here’s an example: In your PHP code, create a button or link that will trigger…
How to send event to android calendar from PHP code ?
Yes, you can send an event to an Android calendar from PHP code by using the Google Calendar API. Here’s an example of how to create an event in an Android calendar…
How to send push notification using PHP code to Android Mobile App
To send push notifications from PHP to an Android mobile app, you’ll need to use Firebase Cloud Messaging (FCM). Here are the basic steps: Here’s some sample PHP code to get you…
How to send appointment details to a persona’s Google Calendrer using PHP code?
To send appointment details to a person’s Gmail calendar using PHP code, you can use the Google Calendar API. Here are the basic steps: Here’s some sample code to get you started:…
How to create pdf file from MySQL result in PHP?
To create a PDF file from MySQL results in PHP, you can use a library such as TCPDF or FPDF. Here’s an example using TCPDF:
PHP Rest API to save profile photo sent as JSON
To write a REST API in PHP to save a profile picture to a folder sent as JSON, you can follow these steps: Here’s an example of how to save the profile…
How to save MySQL result to an array using php?
To save a MySQLi result to a MySQL array using procedural code, you can use the mysqli_fetch_array() function in a loop to fetch each row of the result set and add it…
How to submit form using jQuery ?
Forms can be submitted either by clicking on the submit button or by pressing the enter button on the keyboard when that certain form elements have focus. When the submit event occurs, the…