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
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 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
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
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
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
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
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,
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.
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
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
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);
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"
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 =
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
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
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
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,
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 ' = > '
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