Home > Download >  Library download

  • The dbconfig class is responsible for configuring database access information, including: server address, port, database instance name, user name, user password, character set, etc. The dbtemplate class collects access operations to the database, mainly including the following operations: 1. queryrows: returns multiple rows of records 2. queryrow: returns a single record 3. queryforint: Query a single field and return an integer 4. queryforfloat: Query a single field and return a floating point number (float) 5. queryfordouble: Query a single field and return a floating point number (double) 6. queryforobject: Query a single field and return the object. The actual type is determined by the database. 7. update: execute an update statement. insert / upadate / delete

    Database operation class17222017-03-21
  • Aphp-mysql complete database connection class,test phase, displays all errors, has security risks, is closed by default, Whether to terminate immediately when an error is detected, the default is true, it is recommended not to enable it, because it is very distressing for users to not see anything when there is a problem,Database execution statement , any sql statement # can be executed to query, add, modify, delete, etc.

    Database operation class12062017-03-21
  • A PHP and MySQL database connection file code. If you are looking for code with such functions, you can come in and take a look. It is a very complete file for everyone to learn and refer to.. Display how many tables there are, how many databases there are, Delete database: return deletion results .

    Database operation class16482017-03-21
  • This article is a comparative example of a connection class for PHP to connect to a mysql database. Compared with the general PHP mysql database function, it is much more practical and easy to operate and maintain. As long as you deal with this one, you will be KO. ,Automatically connect to the database when instantiated,Connect to the mysql server, connect to the database, set the character encoding,Execute the passed sql statement , and return the result $result resource identifier

    Database operation class16402017-03-21
  • Introducing a musql PHP connection class, which is stripped from a cms system and retains its complete functional modules. If friends need it, they can directly call this class and download it directly for reference Use it. If your friends have better functional modules of this type, you can upload them and share them with us so that everyone can learn and communicate together.

    Database operation class15152017-03-21
  • Mainly introduces PHP simple database operation class examples, supporting addition, deletion, modification, query and chain operations, which is very suitable for the development and use of small projects. When developing a project, a database is an indispensable thing. But many times, I feel a headache due to the complexity of database SQL statements. Provide a database operation class (Model) for everyone to use. It supports addition, deletion, modification, and query, and supports chain operations. The code is less than 100 lines. It is very compact and convenient, and is very suitable for rapid deployment of small projects.

    Database operation class13062017-03-21
  • Introduces the sharing of MongoDB database operation classes implemented in PHP, the template mysql version of the operation class, supports passing in multiple mongo_servers (1. Connect to other servers when one has a problem 2. Automatically Evenly distribute queries to different servers), Create index: If the index already exists, return.

    Database operation class21422017-03-21
  • Mainly introduces the sqlite database connection class implemented by PHP, which involves sql operations such as connection to SQLite database and addition, deletion, modification and query. It is of great practical value and friends in need can refer to it. Database connection, return the database connection identifier, Execute the sql statement, Get a row from the result set as an associative array.

    Database operation class19542017-03-21
  • A very complete PHP connection to the MySQL database, using PHP to connect with the MySQL database. Well, without further ado, let’s see if this classic database connection code is what you are looking for. It is required. Friends can download it for reference and modification.

    Database operation class16582017-03-21
  • In order to maximize the reuse of data classes, write a reusable PDO class to operate MySql. Since pdo can connect to various popular databases, so a separate Write a configuration class to complete the configuration of different database DSNs.In order to reuse code, this class can be used to dynamically connect various databases.

    Database operation class17412017-03-21
  • Introducing aPHP implementation of XML and data format conversion class. Friends who like it can pay attention. If friends have better file classes in this area, they can send and upload them for learning reference.

    Other libraries11032017-03-21
  • PHP mainly uses GD library extension to operate image files. When we frequently use PHP to operate images, we will naturally encapsulate many functions, otherwise we will write too much repetitive code. When there are many functions related to pictures, we can consider organizing these functions, so we have the idea of ​​encapsulating them into classes. There are four main steps to operating pictures: Step 1: Open the picture Step 2: Manipulate the picture Step 3: Output the picture Step 4: Destroy the image

    Picture library13562017-03-21