Now write code accidentally entered a Chinese punctuation mark, it can not run.
I write code in Windows Notepad, is there any other good stuff?
Reply to discussion (solution)
You need an IDEThe most basic: notepade++, SublimeAdvanced:
Simulate four arrays:
$list [' a '] = array (All-in-all);
$list [' b '] = array (4,5,6);
$list [' c '] = array (7,8,9);
The requirements are combined into this: 14,15,16,17,18,19,24,25,26,27,28,29,34,35,36,37,38,39,47,48,49,57,58,59,67,68,69
The code is as follows, test many times, always do not know the reason, SQL statement in Navicat inside have query result, everybody help me to look:
function Db_connect () {
$db =new mysqli ("127.0.0.1", "root", "admin159753", "51DM",
See what other people write, I don't know why this function is a service
function Is_mobile () {$user _agent = $_server[' http_user_agent ']; $mobile _agents = Array ("240x320", "Acer", "Acoon", "acs-", "Abacho", "Ahong", "Airness", "Alcatel",
1. Find a combination of the given array
such as Array (' A ', ' B ', ' C ')
Result is
A
B
C
A b
A C
b C
function combination ($arr) { if (empty ($arr)) { return false; } $count = count ($arr); for ($i =1; $i ';
has been developed using win7x64, a Web server with a php5.5 built-in Web server,
Yesterday suddenly found a problem, the same code, on Win7 and CentOS, the results are different:
Var_dump (intval (' 21474836470 '));
Output on Win7: int
PHP version 5.4.27
JDK version 1.6.0_25
Php-java-bridge version 5.5.4.1
Make prompt: Make: * * * [Java.lo] Error 1
The JDK dropped from 1.8 to 1.6, Php-java-bridge from 5.4.4.1 to 5.4.4.2 to 5.5.4.1, all the same.
Do not know how to
What is facades
Official documentation says:
facades provides a static interface to classes that can be used in the application's service container . Laravel comes with many facades, and even you may have used them unknowingly! Laravel's "facades"
For advice, when doing a message practice,
....
After submission page jump is file:///D:/wamp/www/test_html/2.php
I would like to ask how to change the page to localhost/test_html/2.php
When you open with the notepad++ shortcut,
# # # # A few words of the original question was raised on the Oschina:
But has been confiscated to the appropriate answer, so it is their own efforts to comb a bit, if there is the wrong place, welcome to exchange. The usual function is through
The database table has a field create_time, the type is int (10), and the corresponding timestamp is stored.
The data sheet has been stored for more than a year.
Now I want to query: Create_time field every day 14:00 to 20:00 of all records, how
Require_once ' conn.php ';
$sql = "SELECT * from Help_relation";
$result =mysql_query ($sql);
$num =mysql_num_rows ($result);
$pagesize =2;//Set the number of records per page
$pages =ceil ($num/$pagesize);//Get Total pages
if ($pages $page
I. Coding principle and implementation
Unicode encoding is the basis for implementing Utf-8 and GB series encoding (GB2312, GBK, GB18030), although we can also directly do a utf-8 to these coded comparison table, but very few people will do so,
. htaccess Inside
Rewriteengine Onrewritecond%{request_filename}!-drewritecond%{request_filename}!-fRewriteRule ^ (. *) $ index.php?s= $ [Qsa,pt,l]
can access the homepage, but the page in the page has no way to access,
Recently there is a H5 project needs, the need for service side, after the investigation decided to use PHP to implement an HTTP server, so began to review PHP syntax, by the way to record the key points, so that you can revisit at any time. The
Usually use Dreamweaver,eclipse development PHP project, today installed Zendstudio, use it to develop PHP project.
Practice is as follows:
1. Open Zend Studio, right---new--project in the left blank area, select local PHP project---Next in the
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