I wrote a DB chain Operation model object as shown in the code below (only one of the short segments) is encountered
Public Function Insert (Array $c, $p = ' Insert ') {if (!is_null ($this->px)) return $this; function I ($c, $e = ',
This is a source of tpl::output (' Brand_list ', $brand _list);
Now I want to print it out to see what's inside it, and I don't know what the political reform is.
I tried that.
$tpl =tpl::output (' brand_list ', $brand _list);
Echo $tpl;
or
*/
/* Table:sdb_admin_roles */
/*==============================================================*/
CREATE TABLE Sdb_admin_roles
(
role_id int unsigned NOT NULL auto_increment,
Role_name varchar (+) NOT NULL,
Role_memo text NOT NULL,
Disabled
I take out the values of the same fields in the different tables in the database in two different arrays, using Array_diff () to find the elements in array 1 instead of the array 2, why only a different element is returned?
The code is as follows:
This mall source Click Statistics there, on the right will continue to appear some pictures of the cycle, has been repeating, I estimate is dead cycle, there is no solution?
The key is how to find the sentence of the dead circle.
Reply to
Have a friend now encountered a problem, there is a directory is a picture file, the directory structure is three layers,/uploads/avator/140320/*.jpg
That is, the Avator directory has a lot of sub-directories named after the target period, about
Throwing content to a template
Tpl::output (' brand_list ', $brand _list);
Mainly the parameters do not understand, Brand_list is a set of values, or a value, I feel that should be a group, because if there is no need to play this, because it is
I always have such a question, why use Java to do backstage, PHP to do the foreground, I have been not very understand, and some large companies are also taking this way,
So I think there must be some truth, so I read some of the information to
Substr intercept string, Ajax to the foreground after the empty, only plain English can be displayed, Japanese, or the whole is empty, I ask this is what the reason.
Reply to discussion (solution)
Returned by JSON? Chinese must be utf-8
See this word on the Internet
If a reference is assigned to an undefined variable, a reference parameter is passed, or a reference is returned, the variable is created automatically. and point to NULL
Often use isset to determine whether a value
System Windows 7 SP1 64-bit, build 32-bit server, the following software are selected 32-bit VC11 Runtime zip package, the software needs VC11 Runtime support, the official website (VC11 update 4) http://www.microsoft.com/en-us
Facing the increasingly heavy work, our time by the boss compression of the fast no, but I want to learn something new, do not want to learn only the basic knowledge, then what should be done now?
Therefore, I recommend a thing to you, I studied
Recently looking at some of the distributed aspects of the article, so just use PHP to achieve consistency hash to practice practiced hand, used to be the most primitive hash to do distributed, when the production process to add or delete a memcache
In Phpcms
Header (' Location:index.php?m=admin '), with M can control the entrance into which module, such as M=admin into the admin module, M=ABC can enter the ABC module to execute the command, then this is how to play it
Reply to discussion
1. What does the following statement output?
if ($a = $b) printf ("a==b");
else printf ("a!=b");
2. What is the difference between $array [' AnyKey '] and $array[anykey]?
(My idea: the first problem because $a= $b, and $b not assigned value, so two
Address: Single-state design mode, single-case design mode, single-piece design mode (not to be asked when the interview is down OH)
Concept: The main function of Singleton (singleton) mode is to ensure that only one instance of a class is
Brother now to do an Excel import and export features, online search, are recommended to use Phpexcel, download the copy to the project, a bunch of warnings and errors, do not know how to solve, do you want to adjust, error warning too much, do not
Recently learning squid in reverse proxy, to find Squid installation configuration steps
Reply to discussion (solution)
Installation steps
Tar zxvf .... cd sq...../configure--prefix=/usr/local/squid--enable-storeio=diskd,ufs--enable-poll--
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