PHP Output 11 & 12
PHP Output 11 & 12
Coding
Output
1. DDL (Data Definition Language):
1. CREATE 2. ALTER 3. DROP
ALTER (coding)
ALTER TABLE Admissions
ADD COLUMN admission_date DATE;
UPDATE (coding)
UPDATE Admissions
SET fees = 25000.00
WHERE full_name = 'Jagathish Kumar';
DELETE
DELETE FROM AdmissionsWHERE full_name = 'Jagathish Kumar';
Program – 11 - DDL/DML operations.
Coding
SQL QUERY
);
<?php
if (isset($_POST['create'])) {
if (isset($_POST['login'])) {
if ($result->num_rows > 0) {
header('Location: welcome.php');
} else {
?>
<form method="post" action="">
</form>
</form>
Output