Skip to content

Commit 6313e96

Browse files
committed
databse added
1 parent 0109f7c commit 6313e96

File tree

2 files changed

+69
-1
lines changed

2 files changed

+69
-1
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# PHP CRUD
2-
This is a simple php crud operation. CRUD is an acronym for Create, Read, Update, and Delete. CRUD operations are basic data manipulation for database. This simple PHP CRUD application to perform all these operations on a MySQL database table at one place.
2+
This is a simple php crud operation. CRUD is an acronym for Create, Read, Update, and Delete. CRUD operations are basic data manipulation for database. This simple PHP CRUD application to perform all these operations on a MySQL database table at one place. Database included in the files section.
33
## Features
44
* Read Data
55
* Insert data

Diff for: stdinfo.sql

+68
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
-- phpMyAdmin SQL Dump
2+
-- version 5.1.1
3+
-- https://www.phpmyadmin.net/
4+
--
5+
-- Host: 127.0.0.1
6+
-- Generation Time: May 08, 2022 at 08:47 AM
7+
-- Server version: 10.4.22-MariaDB
8+
-- PHP Version: 8.1.1
9+
10+
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
11+
START TRANSACTION;
12+
SET time_zone = "+00:00";
13+
14+
15+
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
16+
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
17+
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
18+
/*!40101 SET NAMES utf8mb4 */;
19+
20+
--
21+
-- Database: `stdinfo`
22+
--
23+
24+
-- --------------------------------------------------------
25+
26+
--
27+
-- Table structure for table `student`
28+
--
29+
30+
CREATE TABLE `student` (
31+
`id` int(10) NOT NULL,
32+
`stdname` text NOT NULL,
33+
`stdreg` text NOT NULL
34+
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
35+
36+
--
37+
-- Dumping data for table `student`
38+
--
39+
40+
INSERT INTO `student` (`id`, `stdname`, `stdreg`) VALUES
41+
(3, 'komol saha', '22'),
42+
(4, 'robin khanx', '5555555'),
43+
(7, 'Uttam Kumar Saha', '201');
44+
45+
--
46+
-- Indexes for dumped tables
47+
--
48+
49+
--
50+
-- Indexes for table `student`
51+
--
52+
ALTER TABLE `student`
53+
ADD PRIMARY KEY (`id`);
54+
55+
--
56+
-- AUTO_INCREMENT for dumped tables
57+
--
58+
59+
--
60+
-- AUTO_INCREMENT for table `student`
61+
--
62+
ALTER TABLE `student`
63+
MODIFY `id` int(10) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
64+
COMMIT;
65+
66+
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
67+
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
68+
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

0 commit comments

Comments
 (0)