承接 rashidfarif/simple_php_crud 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

rashidfarif/simple_php_crud

Composer 安装命令:

composer require rashidfarif/simple_php_crud

包简介

this library perform crud operations width build in template or using functions

README 文档

README

One file Perform Crud operation Easy

in This File All Crud Operation Created Like

select table one paramer is table name

settable($table)	

return current table name no param requered

gettable()

Select All Data From Data Base return object no param

all()

Find and data With id and return object with data.passed id where data find in database

find($id) 

Insert data to database and return object width insert row id.the array keys database colums name and value where insert in database

insert(array())

Update data from database.the array keys are database fields names and the value where updated to.the second param is id where data update

update(array(),$id)

delete data where row id passed in and return object width deleted row in

delete($id) 

example :

require_once "connection.php"; 
$con=new connection(host_name,user_name,password,database_name); 
$con->settable(table_name); 
$con->all();

Error handler is Created in this File if error accur then eroor handler Call Automatically

Example :

require_once "connection.php";
$con=new connection("host","user","password","db_name");
$con->settable("test");
$con->all();

output :

Table 'db_name.test' doesn't exist on line number 3

also html popup error oe success message javaScript function available the function name Is mesaage(message,error/success)

and the popup tag css available in it.

example :

<script>
message("Error Found","error");
</script>

this message tag Show top right corner in the web page

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-05-13

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固