Not too advanced, or rookie, what framework MVC will not AH. Simple implementation of the system login registration, fill in the daily work content and other functions on the line. Thank you, big God.
Reply to discussion (solution)
I suggest
The following content is from the official Php.net document
Callbacks
Functions such as Call_user_func (), Usort () accept user-defined callback functions as parameters.
A callback function can be more than just a simple function, or it can be
I want to write the following data into text, how to write? 600881, $m, 800, buy, 0 Among them, there are constants, there are variables, but to write them together, and overwrite all the previous data, thank you for your advice ah.
Reply to
If there are 2 attribute user account user password
The data for the database is like this
User account user Password
A 1111
B 2222
C 3333
I can use the where user account = B, and then the search will be able to get this line of data can be
I'm now going to implement a feature:
To calculate the UID of 200w user by calculation rule, how to calculate the table with different insert log, is the table balanced processing?
Reply to discussion (solution)
Yes, the log is balanced
The file contains 2 files:
a.php
b.php
b Page Content:
1. Include_once (DirName (__file__). ' /a.php ');
2. Include_once ('./a.php ');
3. Include_once (a.php ');
Which way to call it?
Reply to discussion (solution)
The most concise is 3, of
I now want to use AJAX $post to the server-side value, how to get the value in Ueditor, my page load code is as follows:
The page can be displayed ueditor.
I now use JQ Ah JS through the id "blog_content" to get the value of alert out all is
LNMP environment, php.ini inside display_errors = Off
Within the code are:
Ini_set (' display_errors ', 1); error_reporting (E_all);
But the code is still running without error-level errors (the code is deliberately written in grammatical error).
A table B table C, table A and B conditions associated GID, B and C table associated CID, how do I put these 3 tables?
Condition is gid=20
Database type: MySQL
Reply to discussion (solution)
SELECT * from B LEFT join (A,C) on
When:
Class My_controller extends ci_controller{....}
Controller folder:
Class Add_shop extends my_controller{....}
This is all normal and able to access my methods and properties for customizing My_controller and framework Ci_contorller
Original address:
Http://172.16.46.40/api/handler.php/user/1/get_info/6
Now it needs to be configured in Nginx to finally get the result, that is
can be accessed by
HTTP://172.16.46.40/API/USER/1/GET_INFO/6 as normal access, how to configure in
Work needs to use PHP to develop a monitoring applet, since it is necessary to monitor the timing of execution.
Before I used a chrome plus a timed refresh of the small plug-in, placed on the server run, can also be implemented, is awkward.
The
The company is now doing a project. Need to write your own PHP framework. I would like to ask you master, what is the best architectural advice!
Reply to discussion (solution)
Well.... If you're not sure how to write your own PHP framework,It'
I am in the windows2008 server configuration Iis+mysql+phpmyadmin, under the phpMyAdmin already put the required configuration, but when the operation of the prompt, who knows what this is going on?
Reply to discussion (solution)
Obviously,
Official online Find a installer version of, php-5.3.28-win32-vc9-x86, installation process appeared 2356 error, what does this mean AH
Reply to discussion (solution)
Novice or recommended to play Wamp
Wamp+1Linux under Lnmp
Wamp+1Linux
Include ("conn.php");
?>
$sql = "SELECT * from Message"; $query =mysql_query ($sql); while ($row =mysql_fetch_array ($query)) {?>
Title:
User:
Content:
}?>
The data cannot be
Warning:mysqli_real_connect (): (hy000/2002): No such file or directory in
Reply to discussion (solution)
Too little information to provide
For some reason MySQL in OS X gets the locations of the required socket file a bit wrong, but thanks
The include_php method has been deprecated in the new version of PHP. Viewed the Smarty document, saying "You can use plug-ins to properly solve the problem of separating HTML from (PHP) code"
I am now in the A.tpl file to introduce the b.php file,
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