I have a small algorithm that selects all the even or the technology in the array. A lot of people may, would loop this array, and I just do not loop the array can do this, the code is as follows.
function Odd ($var) { //returns whether the
Which php_imagick.dll should I install on the 64-bit windows7?
My computer has always reported:
PHP startup:unable to load Dynamic library
Php_imagick.dll-%1 is not a valid WIN32 application
I've been looking for a night. Not found available
General verification code does not appear, nowhere is because: 1 BOM header, 2 Extension=php_gd2.dll not open (that is, remove the semicolon)
But I am not the above two reasons, because I have checked.
There is also a solution to the forum is to
How do I know if the current project is installed Memcache
I knew the current project was loaded by php.ini to see if there was
Extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"
extension= "Memcache.so"
and/usr/local/
A = "#333333"
This function is needed: To make a color darker, such as a= "#222222"
Reply to discussion (solution)
$a = "#333333"; $rgb = Unpack (' c* ', pack (' h* ', substr ($a, 1))); $HSB = Call_user_func_array (' RGB2HSB ', $rgb); $HSB
The following set of data is in the Channel column table, my question is discuz how to turn data table data into a group of?
Array ([ 0] = = Array ( [catname] = Channel column 1 ) [1] = = Array (
Write a regular match, but I still need him to return the entire string.
The regular is as follows
Preg_match ('/^
/', $_content, $matches);
The content of $_content is
I know I can only match the first one, but according
There are many such symbols in discuz, and I understand that they are substitution symbols, which seem to be written for convenience.
In addition Discuz SQL statement has a lot of parameters, the official did not give a clear statement, of course,
General PHP Project, at least to engage in a template class, template parsing class, compile files, cache files, and system variable files,
I do not know in the discuz!x3.2 version of these things in which directories?
Reply to discussion
$a =2014-09-30 23:21:55
$b =18:00
How can I figure out how many minutes the difference between 23:21 and $b is in $ A?
Reply to discussion (solution)
I got it!!!
$d = new DateTime (Date (' H:i:s ', Strtotime (' 2014-09-30 23:21:55 ')), $t
Because you want to do the portal navigation, you need to add each list page, and the navigation needs this array:
$res =db::fetch_all ("SELECT * from%t", Array (' portal_category '));
I added this code to the portal_index.php, but don't forget that
Do a PHP Query database page, you can now enter the version number and select Line Query, select the status can not be used, the page is as follows,
At present, the problem is that the first time to open the page is to automatically display all
Little Brother Beginner PHP, want to understand the post upload file to server and server to receive and save the file process, from the Internet to find two code, but has been unable to find the problem, to the version of prawn for advice, the code
There is a question about the current work, I would like to consult with experienced members of the big.
I self-taught PHP, just looking for a job this year. One-third of the work is written code, One-third is to deploy the PHP runtime environment
My configuration is win2003+iis6+fastcgi+php5.3.28+mssql2008.
My fastcgi and PHP5.3.28 are all in the installation version.
Many examples on the web, to the Microsoft website download drive, unzip to the Ext folder,
Open php.ini at the end of the
To help a trading company make an order system, the basic module is:
1. Basic information of commodities.
2, the customer has been customer company basic information.
3. Basic information of employees.
4, quotation.
5, purchase orders.
6, delivery
To a 8-bit barcode. Do not EAN-13, and do not UPCA examples of functions. Based on a given 8-digit number such as "71020034" to generate barcodes, do not need to check the code bit, the bar code will display a given 8 digits, scanning use.
1, how to remove the "number" and the adjacent tag pair, the following code to remove this piece of content: There are many other characters, forms and so on .... Number ... There are many other characters, forms, etc. $content= "0000111222 There
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