Top PHP programmers should have 5 of the most power

MySQL Capabilities The application on development is based on several competencies embodied: (1) Understand: Know to connect to the database with PHP, to write some simple SQL, to build some simple index, to use the tool to simple operation of the

Phpcms How to invoke such a conditional column?

The condition is: ParentID equals 1 of all columns, I want to tune out, do not know how to write AH I write this: {pc:content action= "category" Parentid= "1" num= "siteid=" $siteid "order=" Listorder ASC "} {Loop $data $r} {$r [catname]}

A website has multiple backstage, how to make them irrelevant?

A website has multiple background a,b,c, I am now in a login, then the session has been generated, I enter B or C when, is not required to login, this How to separate, let B or C also need to log in to enter, rather than log on a after, B and C will

Ask for the direct chain problem of the net plate

Now a lot of network disk has a straight chain function, today saw a network of pictures of the straight-link address, copied to the browser directly downloaded, can not be used as a display Want to ask, this kind of image straight link address in

The new man knelt for the great God to give the Recruit

I want to create a virtual host, I also follow the tutorial to configure, but it is not Please, God help you solve this. Why the last in the browser can not display ah?? Is there something missing? Reply to discussion (solution) You only set

About the wonderful problem of account activation,

Ask the great God my this piece of code has what problem, before good, but now appear inexplicable problem, editor is NetBeans, also reinstall. Now the runtime can execute to the second _query function, that is, the operation of the database is

How to achieve the bulk of the message in the PHP station.

Need to do a station letter function, but mass do not know how to do, ask for help or who have examples can give reference? Reply to discussion (solution) Two methodsNO1. Send a message to all users ' really '.NO2. Gets the program's TODO task

PHP how to cooperate with Easyui implementation, DataGrid1 Click on a row, and then DataGrid2 Dynamic query.

Easyui DataGrid is a DataGrid written in Jquery, it is a front-end Web UI technology, generally everyone in the production of the DataGrid is more common should be using background PHP and other background language, to directly produce HTML syntax,

"Yii framework" to remove a completed project from the existing login function

Remove the previous login function from the access page do not judge the landing is how to do very urgent AH Reply to discussion (solution) About the user right or anything can not be directly accessible to The surrogate for the login? Except.

How does PHP get the value of a field specified by a two-dimensional array?

Requirements: There are the following array $arr, the array has two modules a net one login, how can I get the last marks according to the net module, The net module and the login module data is a $arr, net module may also be find add up del Chark

An if judge, find a day can not find errors, only.

The code is as follows: if ($webstate!== "Y" or $webstate!== "N") {echo ""; exit;} My idea is: $ only two cases, one is Y, the other is n, if there is a third case, the error. I now if only one condition, it is normal, if plus or more one

How do I get the host header to appear in the page?

Column: Open http://111.xxx.com/index.php display only "111" in the current page If you open the http://2893.xxx.com/index.php page, the "2893" is displayed What code does this use to get it? Reply to discussion (solution) Print_r ($_server);

Phpcms How to write a sentence like this

Want to define the CATID in the SQL sentence If Num=1 so catid=5, otherwise catid=7 I don't know how to write such a sentence. Here is the SQL sentence, {pc:get sql= "select * from category where category.catid= $catid order by catid ASC" num= "7"

Preg_split the problem of splitting strings

Ask everyone a question, using Preg_split to split the string, Need to press "X", such a way to split, X is not fixed, this regular how to write, I write a problem $s = "1th haha haha 2nd" la La La, the third cheerleader, the big one " $a =

Questions about the Array_diff function

I use Array_diff comparison to read the TXT file title and I set the same, where the last field is always determined to be different, the surface of the last field more than a space, I added a space, also decided not the same, what method I use to

PHP Regular Replacement

$array = Array (' AAA ', ' bbbbbb ', ' cccccc ', ' ddddddddddd '); $str = ' abcdej{$array}jdijij '; $str = Preg_replace ("/^\{\$ (. *?) \}$/i ", ' Print_r (\\1); ', $str); Print_r ($STR); How do I replace {print_r ($array)} to write a

Ask a list of MySQL query statements

If Table 1 ID Name 1 A 2 B Table 2 ID Money 1 10 1 15 2 20 1 10 How do you get the following results in a Zolin way? 1 A 40 2 B 20 Reply to discussion (solution) Select A.*, SUM (money) as money from table 1 a LEFT JOIN table 2 B on

What is the use of the function date ()?

Current server Time January 4, 15 17 o'clock 29, why Echo (date (' ymdhis ')); show 150104102900, this should be 10 point 29 meaning, how bad 7 hours? Is there a setting such as time zone? Reply to discussion (solution) You should be php.ini

Ask a question about the MySQL list

A1 A2 A3 Three tables now I'm writing the words Select A1.*,sum (A2.money) as money from A1 left joins A2 on A1.id=a2.id left joins A3 on a2.no = A3.no GROUP by a1.id; The result is Due to other factors must be connected to the A3 table,

SQL statements generated by the thinkphp3.1 view model cannot be executed

In making an order system, you can't print anything when using a view model. Custom View Model Array (' id ', ' orderno ', ' Date ', ' money ', ' Memo ', ' state ', ' _type ' = ' left '), ' client ' = = Array (' ClientName ', ' _on ' = > '

Total Pages: 5208 1 .... 4962 4963 4964 4965 4966 .... 5208 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.