current location:Home > Technical Articles > php教程

  • Performance comparison of for, while, foreach
    Performance comparison of for, while, foreach
    Generally, there are three methods for traversing an array, for, while, and foreach. The simplest and most convenient of them is foreach. So what are the differences in operation and performance between them? Which method is usually better to use.
    PHP开发 1335 2016-12-14 11:13:45
  • Class autoloading function
    Class autoloading function
    PHP will report a fatal error when you try to use an undefined class. The solution is to add a class, which can be included in a file. After all, you know which class to use. However, PHP provides automatic loading of classes. function, which saves programming time.
    PHP开发 1297 2016-12-14 11:12:04
  • Constructor and destructor
    Constructor and destructor
    If you declare a function in a class, named __construct, this function will be treated as a constructor and executed when creating an object instance. To be clear, __ is two underscores. Just like any other function Likewise, constructors may have parameters or default values.
    PHP开发 1230 2016-12-14 11:10:12
  • Introduction to commonly used MySQL command line tools
    Introduction to commonly used MySQL command line tools
    We often use MySQL command line tools. There are some MySQL command line tools that can be used interactively. Each command accepts some options. The long form of the options is prefixed with two hyphens (-).
    PHP开发 1431 2016-12-14 11:09:44
  • PHP image functions
    PHP image functions
    There is a set of image functions in PHP that can dynamically generate image data streams in gif format and output them to the server. In order for this set of functions to work, the system must have the support of the gd library.
    PHP开发 1306 2016-12-14 11:07:51
  • A complete list of commonly used MySQL commands
    A complete list of commonly used MySQL commands
    The following are MySQL commands that we often use and are very useful. Below you see #, which means executing the command under the Unix command line, and mysql>, which means you are currently logged in to the MySQL server, and the mysql command is executed on the mysql client. Log in to MySQL. If you want to connect to a remote database, you need to specify the hostname with -h.
    PHP开发 1590 2016-12-14 11:07:49
  • Variables of variables, PHP and you
    Variables of variables, PHP and you
    About using variables in PHP. In my program, I need to update multiple records on one page at the same time. After a long period of painful thinking, the concept of variable variable accidentally flashed in my mind.
    PHP开发 1132 2016-12-14 11:05:18
  • How to enter the MySQL command line under Linux
    How to enter the MySQL command line under Linux
    This article introduces: How to enter the MySQL command line under Linux. You can refer to it if necessary.
    PHP开发 1157 2016-12-14 11:03:08
  • Summary of common commands for mysql database under CentOS
    Summary of common commands for mysql database under CentOS
    Summary of mysql database usage This article mainly records some daily commands of mysql for future query.
    PHP开发 1525 2016-12-14 11:00:56
  • MySQL command line formatted output
    MySQL command line formatted output
    MySQL's client command line tool has many user-friendly features, and in some aspects it can even be said to be more user-friendly than Oracle's sqlplus. Of course, overall, sqlplus is more convenient. Maybe it's because I am more familiar with sqlplus. Here are some commonly used features of the MySQL command line.
    PHP开发 1456 2016-12-14 10:59:43
  • MySQL command line
    MySQL command line
    I introduce MySQL commands, you can refer to them if you need them.
    PHP开发 1071 2016-12-14 10:55:37
  • Two methods for MySQL command to execute sql files
    Two methods for MySQL command to execute sql files
    Friends who have studied SQL Server or Oracle will know that a sql script is a collection of sql statements containing one or more sql commands. We can put these sql scripts in a text file (we call it a "sql script file"), and then Execute this sql script file through relevant commands. The basic steps are as follows:
    PHP开发 1678 2016-12-14 10:53:35
  • Common commands to operate MySQL under cmd command line
    Common commands to operate MySQL under cmd command line
    First, let’s talk about why we need to operate MySQL under DOS: SQL has been around since the 19th century. At that time, due to hardware constraints, we could only use a DOS-style interface. Later, although the hardware supported a graphical interface (common software operation interface), the command The line interface (that is, the DOS interface) is retained for its simplicity, efficiency, and convenience. This is the reason for using the DOS interface.
    PHP开发 1071 2016-12-14 10:50:15
  • Analysis of namespace and use usage in php
    Analysis of namespace and use usage in php
    This article mainly introduces the usage of namespace and use in PHP, and analyzes the functions and specific usage methods of namespace and use in PHP with examples. Friends in need can refer to it.
    PHP开发 1162 2016-12-14 10:47:47
  • [MySQL] Command line tools and basic operations
    [MySQL] Command line tools and basic operations
    MySQL is a simple SQL shell (with GNU readline functionality). It supports both interactive and non-interactive use. When used interactively, query results are in ASCII table format. When in non-interactive (for example, used as a filter) mode, the result is in tab-delimited format. The output format can be changed using command line options. If you encounter problems due to insufficient memory due to large results, use the --quick option. This forces MySQL to search results from the server one row at a time, rather than retrieving the entire result set and having to save it to memory before displaying it. (MySQLD)
    PHP开发 1585 2016-12-14 10:46:08

Tool Recommendations

jQuery enterprise message form contact code

jQuery enterprise message form contact code is a simple and practical enterprise message form and contact us introduction page code.
form button
2024-02-29

HTML5 MP3 music box playback effects

HTML5 MP3 music box playback special effect is an mp3 music player based on HTML5 css3 to create cute music box emoticons and click the switch button.

HTML5 cool particle animation navigation menu special effects

HTML5 cool particle animation navigation menu special effect is a special effect that changes color when the navigation menu is hovered by the mouse.
Menu navigation
2024-02-29

jQuery visual form drag and drop editing code

jQuery visual form drag and drop editing code is a visual form based on jQuery and bootstrap framework.
form button
2024-02-29

Organic fruit and vegetable supplier web template Bootstrap5

An organic fruit and vegetable supplier web template-Bootstrap5
Bootstrap template
2023-02-03

Bootstrap3 multifunctional data information background management responsive web page template-Novus

Bootstrap3 multifunctional data information background management responsive web page template-Novus
backend template
2023-02-02

Real estate resource service platform web page template Bootstrap5

Real estate resource service platform web page template Bootstrap5
Bootstrap template
2023-02-02

Simple resume information web template Bootstrap4

Simple resume information web template Bootstrap4
Bootstrap template
2023-02-02

Cute summer elements vector material (EPS PNG)

This is a cute summer element vector material, including the sun, sun hat, coconut tree, bikini, airplane, watermelon, ice cream, ice cream, cold drink, swimming ring, flip-flops, pineapple, conch, shell, starfish, crab, Lemons, sunscreen, sunglasses, etc., the materials are provided in EPS and PNG formats, including JPG previews.
PNG material
2024-05-09

Four red 2023 graduation badges vector material (AI EPS PNG)

This is a red 2023 graduation badge vector material, four in total, available in AI, EPS and PNG formats, including JPG preview.
PNG material
2024-02-29

Singing bird and cart filled with flowers design spring banner vector material (AI EPS)

This is a spring banner vector material designed with singing birds and a cart full of flowers. It is available in AI and EPS formats, including JPG preview.
banner picture
2024-02-29

Golden graduation cap vector material (EPS PNG)

This is a golden graduation cap vector material, available in EPS and PNG formats, including JPG preview.
PNG material
2024-02-27

Home Decor Cleaning and Repair Service Company Website Template

Home Decoration Cleaning and Maintenance Service Company Website Template is a website template download suitable for promotional websites that provide home decoration, cleaning, maintenance and other service organizations. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-05-09

Fresh color personal resume guide page template

Fresh color matching personal job application resume guide page template is a personal job search resume work display guide page web template download suitable for fresh color matching style. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-29

Designer Creative Job Resume Web Template

Designer Creative Job Resume Web Template is a downloadable web template for personal job resume display suitable for various designer positions. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28

Modern engineering construction company website template

The modern engineering and construction company website template is a downloadable website template suitable for promotion of the engineering and construction service industry. Tip: This template calls the Google font library, and the page may open slowly.
Front-end template
2024-02-28