This file contains hidden or 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 hidden or 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 : [email protected] | |
**/ |
This file contains hidden or 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 Database using PHP [With Folder] | |
//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 | |
1.Make a file in notepad and save it as index.php and paste the below code. |
This file contains hidden or 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 hidden or 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
2.Make a another file in notepad and save it as ajax.php and paste the below code. | |
<?php | |
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
if(isset($_POST['small_text'])) |
This file contains hidden or 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 Hide/Show Div in html Using JavaScript | |
1.Make a file in notepad and save it as index.php and paste the below code. | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Simple Function to hide and show using javascript</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script> |
This file contains hidden or 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 | |
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
//connect to mysql database | |
$con = mysqli_connect("localhost", "root", "", "test") or die("Error " . mysqli_error($con)); |
This file contains hidden or 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 hidden or 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 Open Choose File option by clicking on Image or Button in HTML | |
/** | |
@author : Shubham Maurya, | |
Email id : [email protected] | |
**/ | |
1.Make a file in notepad and save it as index.php and paste the below code. |
This file contains hidden or 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 : [email protected] | |
**/ | |
//Database Creation |
OlderNewer