Submit Search
Upload
Php.docx
•
Download as DOCX, PDF
•
0 likes
•
117 views
C
CHMuhammadZohaibZafa
Follow
You can learn a new code
Read less
Read more
Design
Report
Share
Report
Share
1 of 3
Download now
Recommended
与 PHP 和 Perl 使用 MySQL 数据库
与 PHP 和 Perl 使用 MySQL 数据库
YUCHENG HU
Pemrograman Web 8 - MySQL
Pemrograman Web 8 - MySQL
Nur Fadli Utomo
The History of PHPersistence
The History of PHPersistence
Hugo Hamon
Presentation1
Presentation1
Rahadyan Gusti
PHP DATABASE MANAGEMENT.pptx
PHP DATABASE MANAGEMENT.pptx
CynthiaKendi1
Coding website
Coding website
PutuMahendra Wijaya
DBI
DBI
Lambert Lum
Stored Procedure
Stored Procedure
NidiaRamirez07
Recommended
与 PHP 和 Perl 使用 MySQL 数据库
与 PHP 和 Perl 使用 MySQL 数据库
YUCHENG HU
Pemrograman Web 8 - MySQL
Pemrograman Web 8 - MySQL
Nur Fadli Utomo
The History of PHPersistence
The History of PHPersistence
Hugo Hamon
Presentation1
Presentation1
Rahadyan Gusti
PHP DATABASE MANAGEMENT.pptx
PHP DATABASE MANAGEMENT.pptx
CynthiaKendi1
Coding website
Coding website
PutuMahendra Wijaya
DBI
DBI
Lambert Lum
Stored Procedure
Stored Procedure
NidiaRamirez07
Php
Php
anilcoolz881234
Add edit delete in Codeigniter in PHP
Add edit delete in Codeigniter in PHP
Vineet Kumar Saini
Php
Php
Uthpala Bowalgaha
The HyperText Markup Language or HTML is the standard markup language
The HyperText Markup Language or HTML is the standard markup language
Lovely Professional University
Php 101: PDO
Php 101: PDO
Jeremy Kendall
Daily notes
Daily notes
meghendra168
Database Management - Lecture 4 - PHP and Mysql
Database Management - Lecture 4 - PHP and Mysql
Al-Mamun Sarkar
Dependency Injection
Dependency Injection
Rifat Nabi
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Masahiro Nagano
Practical MySQL.pptx
Practical MySQL.pptx
HussainUsman4
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
jhchabran
Eden Hackathon Benilde (Mysql & SMTP)
Eden Hackathon Benilde (Mysql & SMTP)
Dan Michael Molina
Unit 4- Working with SQL.pptx
Unit 4- Working with SQL.pptx
mythili213835
Developing applications for performance
Developing applications for performance
Leon Fayer
Connecting_to_Database(MySQL)_in_PHP.pptx
Connecting_to_Database(MySQL)_in_PHP.pptx
TempMail233488
Mysql & Php
Mysql & Php
Inbal Geffen
PHP Data Objects
PHP Data Objects
Wez Furlong
My app is secure... I think
My app is secure... I think
Wim Godden
My app is secure... I think
My app is secure... I think
Wim Godden
My app is secure... I think
My app is secure... I think
Wim Godden
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
ResDraft
CA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdf
SudhanshuMandlik
More Related Content
Similar to Php.docx
Php
Php
anilcoolz881234
Add edit delete in Codeigniter in PHP
Add edit delete in Codeigniter in PHP
Vineet Kumar Saini
Php
Php
Uthpala Bowalgaha
The HyperText Markup Language or HTML is the standard markup language
The HyperText Markup Language or HTML is the standard markup language
Lovely Professional University
Php 101: PDO
Php 101: PDO
Jeremy Kendall
Daily notes
Daily notes
meghendra168
Database Management - Lecture 4 - PHP and Mysql
Database Management - Lecture 4 - PHP and Mysql
Al-Mamun Sarkar
Dependency Injection
Dependency Injection
Rifat Nabi
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Masahiro Nagano
Practical MySQL.pptx
Practical MySQL.pptx
HussainUsman4
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
jhchabran
Eden Hackathon Benilde (Mysql & SMTP)
Eden Hackathon Benilde (Mysql & SMTP)
Dan Michael Molina
Unit 4- Working with SQL.pptx
Unit 4- Working with SQL.pptx
mythili213835
Developing applications for performance
Developing applications for performance
Leon Fayer
Connecting_to_Database(MySQL)_in_PHP.pptx
Connecting_to_Database(MySQL)_in_PHP.pptx
TempMail233488
Mysql & Php
Mysql & Php
Inbal Geffen
PHP Data Objects
PHP Data Objects
Wez Furlong
My app is secure... I think
My app is secure... I think
Wim Godden
My app is secure... I think
My app is secure... I think
Wim Godden
My app is secure... I think
My app is secure... I think
Wim Godden
Similar to Php.docx
(20)
Php
Php
Add edit delete in Codeigniter in PHP
Add edit delete in Codeigniter in PHP
Php
Php
The HyperText Markup Language or HTML is the standard markup language
The HyperText Markup Language or HTML is the standard markup language
Php 101: PDO
Php 101: PDO
Daily notes
Daily notes
Database Management - Lecture 4 - PHP and Mysql
Database Management - Lecture 4 - PHP and Mysql
Dependency Injection
Dependency Injection
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Designing Opeation Oriented Web Applications / YAPC::Asia Tokyo 2011
Practical MySQL.pptx
Practical MySQL.pptx
Introduction à CoffeeScript pour ParisRB
Introduction à CoffeeScript pour ParisRB
Eden Hackathon Benilde (Mysql & SMTP)
Eden Hackathon Benilde (Mysql & SMTP)
Unit 4- Working with SQL.pptx
Unit 4- Working with SQL.pptx
Developing applications for performance
Developing applications for performance
Connecting_to_Database(MySQL)_in_PHP.pptx
Connecting_to_Database(MySQL)_in_PHP.pptx
Mysql & Php
Mysql & Php
PHP Data Objects
PHP Data Objects
My app is secure... I think
My app is secure... I think
My app is secure... I think
My app is secure... I think
My app is secure... I think
My app is secure... I think
Recently uploaded
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
ResDraft
CA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdf
SudhanshuMandlik
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
aaryangarg12
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
Finzo Kitchens
The Design Code Google Developer Student Club.pptx
The Design Code Google Developer Student Club.pptx
adityakushalsaha
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
boryssutkowski
Common Designing Mistakes and How to avoid them
Common Designing Mistakes and How to avoid them
madhavlakhanpal29
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
Confidence Ago
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
AlecAnidul
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
fabianavillanib
Art Nouveau Movement Presentation for Art History.
Art Nouveau Movement Presentation for Art History.
rrimika1
Top Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdf
PlanitIsrael
The Evolution of Fashion Trends: History to Fashion
The Evolution of Fashion Trends: History to Fashion
Pixel poets
Recently uploaded
(13)
Expert Accessory Dwelling Unit (ADU) Drafting Services
Expert Accessory Dwelling Unit (ADU) Drafting Services
CA OFFICE office office office _VIEWS.pdf
CA OFFICE office office office _VIEWS.pdf
Transforming Brand Perception and Boosting Profitability
Transforming Brand Perception and Boosting Profitability
Top 5 Indian Style Modular Kitchen Designs
Top 5 Indian Style Modular Kitchen Designs
The Design Code Google Developer Student Club.pptx
The Design Code Google Developer Student Club.pptx
Borys Sutkowski portfolio interior design
Borys Sutkowski portfolio interior design
Common Designing Mistakes and How to avoid them
Common Designing Mistakes and How to avoid them
Book Formatting: Quality Control Checks for Designers
Book Formatting: Quality Control Checks for Designers
National-Learning-Camp 2024 deped....pptx
National-Learning-Camp 2024 deped....pptx
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
PORTFOLIO FABIANA VILLANI ARCHITECTURE.pdf
Art Nouveau Movement Presentation for Art History.
Art Nouveau Movement Presentation for Art History.
Top Israeli Products and Brands - Plan it israel.pdf
Top Israeli Products and Brands - Plan it israel.pdf
The Evolution of Fashion Trends: History to Fashion
The Evolution of Fashion Trends: History to Fashion
Php.docx
1.
<?php $servername = "localhost"; $username
= "username"; $password = "password"; $dbname = "DB"; $conn = new mysqli($servername, $username, $password, $dbname); if ($conn->connect_error) { die("Connection failed: " . $conn->connect_error); } $first_name=$_POST['firstname']; $last_name=$_POST['lastname']; $sql = "INSERT INTO DB (firstname, lastname, email) VALUES ('John', 'Doe', 'john@example.com')"; Update Query: <?php if ($_POST['update']) { $id=$_POST['id']; $firstname=$_POST['firstname']; $lastname=$_POST['lastname']; $email=$_POST['email']; $address=$_POST['address']; $city=$_POST[‘id’]; $phone=$_POST['phone']; $password=$_POST['password']; $sql = "UPDATE FF SET lastname='Doe' WHERE id=2";
2.
Del Query: <a href="open_delete.php?del=<?php
echo $row['id']; ?>">Delete</a> <?php } ?> $sql = "DELETE FROMDB WHERE id=1"; View Query: <table class="table table-striped " width="60%" align="center"> <thead> <tr> <th align="center">ID</th> <th align="center">First Name</th> <th align="center">Last Name</th> <th align="center">Email</th> <th align="center">Address</th> <th align="center">City</th> <th align="center">Postal Code</th> <th align="center">Phone Number</th> <th align="center">Mobiel</th> <th align="center">Password</th> <th align="center">Action</th> <?php include("../connection.php"); $select="SELECT * FROM `openliveaccount`"; $query=mysqli_query($conn,$select); while($row=mysqli_fetch_array($query)) { $id=$row['id']; ?> </tr> </thead> <tbody> <tr> <td ><?php echo $row['id'];?></td> <td ><?php echo $row['first_name'];?></td> <td ><?php echo $row['last_name'];?></td> <td ><?php echo $row['email'];?></td> <td ><?php echo $row['address'];?></td> <td ><?php echo $row['city'];?></td> <td ><?php echo $row['postal_code'];?></td>
3.
<td ><?php echo
$row['phone_number'];?></td> <td ><?php echo $row['mobile'];?></td> <td ><?php echo $row['password'];?></td>
Download now