OracleFaq (Oracle version ). If you need to reprint it, please indicate the source. thank you! Take 8.1.7.4.0 as an example: 8: Version 1: New feature version 7: maintenance Version 4: common patch settings number 0: special platform patch settings
PHP retains two decimal places and rounding and not rounding. Php keeps two decimal places and returns the code as follows: $ num123213.666666; echosprintf (%. 2f, $ num); php keeps two decimal places and does not show up. copy the code as follows:
Php Data type determines which functions are available. The copy code is as follows: is_bool (), is_float (), is_int (), is_string (), is_object (), is_array (), and is_integer (). Note: When checking whether the is_numeric () variable is a number
PHP generates tag functions of different colors and sizes. Copy the code as follows: functiongetTagStyle () {$ minFontSize8; minimum font size, which can be changed as needed $ maxFontSize18; maximum font size, which can be changed as needed
The
PHP unlimited classification (tree type ). Copy the code as follows :? Php simulation PHP unlimited classification query results returnarray (array (id1, pid0, name homepage), array (id2, pid0, name news), array (id
The code is as follows:
//
Php input stream: example of sending an image to a server using input:
Submit the form to the server. the server uses file_get_contents to obtain the php: // input content:
$ Content =
Enable PHPGD library support in Linux
Php5-m | grep-I gd
Or
Php-I | grep-I -- color gd
2. if the GD library is not installed, install it on the server as follows:
# Add a parameter for
Sample code for importing excel data using phpexcel
/**
* Import basic product information
* Edit: bbs.it-home.org
*/
Public function importProductBasicInfo ($ data ){
PHP, MySql, and jQuery implement the "top" and "Step On" voting functions
Create table if not exists 'votes '(
'Id' int (10) not null AUTO_INCREMENT,
'Lik' int (10) not null default '0 ',
'Unlik' int (10) not
How to generate a php bar chart (JpGraph Class Library)
DEFINE ("CACHE_DIR", "/tmp/jpgraph_cache /");'
DEFINE ("TTF_DIR", "/usr/X11R6/lib/X11/fonts/truetype /");
For Windows:
DEFINE ("CACHE_DIR",
Example of how to specify the default value for a php function
Php function specifies the default value -bbs.it-home.org
Function printMe ($ param = NULL)
{
Print $ param;
}
Difference between mysql and mysqli
This article introduces some differences between mysql and mysqli in php. For more information, see.Difference between mysql and mysqli: Mysql and Mysqli (Mysql Improved) are two library functions (or
Usage of $ _ GET, $ _ POST, $ _ REQUEST, and $ _ SERVER in php
Echo $ _ GET ['xingming']."";
Echo $ _ GET ['age']."";
Echo $ _ POST ['xingming']."";
Echo $ _ POST ['age']."";
Share a php user login class
In php programming, user logon is often used. here is a good php user logon class. if you need it, refer to it.Php user logon class, code:
ErrReport ($ this-> err_mysql); $ this-> err = $ this-> err_mysql;}
Php records the implementation code of the search engine and keywords
This article introduces a piece of code implemented by php that records the search engine paths and keywords. For more information, see.Code:
'Baidu ', 'google. '=> '
PHP custom function round_pad_zero rounded to decimal places and zero
/**
* Rounded to and zero
* By bbs.it-home.org
*/
Function round_pad_zero ($ num, $ precision)
{
If ($ precision
Analysis of php regular expression matching mailbox problems
This article introduces a problem encountered when using the regular expression in php to match the mailbox (EMail) and the solution. For more information, see.The php regular
Php array sorting instance sharing (multiple sorting methods)
This article introduces the example of using php to sort arrays, such as fast sorting, heap sorting, Hill sorting, and insert sorting. For more information, see.Php array sorting
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service