Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to realize the function of adding, deleting, changing and searching in PHP

2025-02-22 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly explains the "PHP how to achieve add, delete, change and search function", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "how to add, delete, change and search function" bar!

Sql:

-- phpMyAdmin SQL Dump-- version 4.5.1 Mui-http://www.phpmyadmin.net---- Host: 127.0.0.1 Mui-Generation Time: 2022-03-15 17 Host 51 Generation Time-Server version: 10.1.13 Merry MariaDB Generation Time-PHP Version: 5.6.21SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+ 00:00"; / *! 40101 SET @ OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT * / / *! 40101 SET @ OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS * /; / *! 40101 SET @ OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION * /; / *! 40101 SET NAMES utf8mb4 * / -Database: `a`-table structure `search`-- CREATE TABLE `search` (`id`int (11) NOT NULL, `content`text COLLATE utf8_vietnamese_ci NOT NULL COMMENT 'content') ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_vietnamese_ci -dump the data in the table `search`-- INSERT INTO `search` (`id`, `content`) VALUES (21, 'old jobs are expensive'), (22 Chen homework is expensive), (23, Chen homework is expensive), (24 ), (25, 'Chen's expensive'), (26, 'Chen's expensive'), (27, 'Chen's expensive'), (28, 'Chen's expensive'), (29, '000000), (30,') -Indexes for dumped tables- Indexes for table `search`-- ALTER TABLE `search` ADD PRIMARY KEY (`id`);-use AUTO_INCREMENT- to use table AUTO_INCREMENT `search`-- ALTER TABLE `search` MODIFY `id` int (11) NOT NULL AUTO_INCREMENT, automatic INCREMENT67 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT * /; / *! 40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS * / / * 40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION * /

Cyg.php

Document id title content

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Development

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report