This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
*/ | |
class USER | |
{ | |
private $db; | |
//Constructor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
@author : Shubham Maurya, | |
Email id : maurya.shubham5@gmail.com | |
** | |
1.Make a file named index.html and save the code below | |
<!DOCTYPE html> | |
<html> | |
<head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all , Welcome to Maurya Tricks , Today we are going to discuss , | |
how to Share Post on Facebook in an easy way. | |
1.Make a file in notepad and save it as index.php and paste the below code. | |
<html> | |
<body> | |
<div id="fb-root"></div> | |
<script>(function(d, s, id) { | |
var js, fjs = d.getElementsByTagName(s)[0]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<nav class="navbar navbar-inverse" style="border-radius: 0px;"> | |
<div class="container-fluid"> | |
<div class="navbar-header"> | |
<a class="navbar-brand" href="#">Your WebSite Name</a> | |
</div> | |
<ul class="nav navbar-nav"> | |
<li class="active"><a href="#">Home</a></li> | |
<li><a href="#">About</a></li> | |
</ul> | |
<ul class="nav navbar-nav navbar-right"> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all , Welcome to Maurya Tricks , Today we are going to discuss , How to upload Image in Folder using PHP [Without Database] | |
1.Make a file in notepad and save it as index.php and paste the below code. | |
<?php | |
/** | |
@author : Shubham Maurya, | |
Email id : maurya.shubham5@gmail.com | |
**/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all , Welcome to Maurya Tricks , Today we are going to discuss , | |
how to make a Simple Live Notification Example in PHP using Ajax | |
/** | |
@author : Shubham Maurya, | |
Email id : maurya.shubham5@gmail.com | |
**/ | |
//Database Creation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Import PHPMailer classes into the global namespace | |
// These must be at the top of your script, not inside a function | |
use PHPMailer\PHPMailer\PHPMailer; | |
//use PHPMailer\PHPMailer\Exception; | |
//require 'phpmailer/src/Exception.php'; | |
require 'phpmailer/src/PHPMailer.php'; | |
require 'phpmailer/src/SMTP.php'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Hi all , Welcome to Maurya Tricks , Today we are going to discuss , | |
How to Upload and Retrieve Image From Database in PHP | |
//Database Creation | |
Make a database named “testdb and table named “image” . | |
Give the element name 'b_image' (varchar(255)) in tables 'test'. | |
//Make a folder named "image" in your directory , here the images get saved | |
1.Make a file in notepad and save it as index.php and paste the below code. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GET PREVIOUS WEEK DATES USING CUSTOM DATE IN PHP</strong></p> | |
@author : Shubham Maurya | |
Email id : maurya.shubham5@gmail.com | |
Hi all , Welcome to shubhammaurya.com , Today we are going to discuss , how to get previous week dates from a custom date/user given date. | |
We will use strtotime() function to get all dates. | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* | |
*/ | |
class USER | |
{ | |
private $db; | |
//Constructor |
NewerOlder