$Data = M ($action); Instantiate the data model
$this->data = $Data->field (' Id,datupian,touxiang,content,nike,time ')->select ();
Returns a two-dimensional array
For example, get datupian field content is www.baidu.com/22.jpg is the network
Why the output is 311 ... What the hell happened to daddy?
Reply to discussion (solution)
$huancuns ==0 not set up?$huancuns = = = 0 Not set up
$huancuns ==0 not set up?$huancuns = = = 0 Not set up
' [{' id ': ' 1 ', ' time ': ' 0 '},{'
I use the PHP5.5, query statement format as follows To_char (mydate,\ ' mm/dd/yyyy\ '), but the result of the returned data is 05\/27\/2014, how can I remove the backslash?
Thank you
Reply to discussion (solution)
How the TO_CHAR function is
Used to have been using Apache, directly next Wamp a key installation OK can use, today with Nginx server, bitter b loaded php installed MySQL install the Nginx, and the trouble with the configuration and version of the corresponding, I was so upset
Installation and configuration of the Jpgraph
1, the official website downloads the file package
2. Unzip the package
3, copy to your development environment----Note is: The SRC directory of all other files cut into the examples file, in the cut
Header ("content-type:text/html; charset=gb2312 ");
Class chkinput{
var $name;
var $pwd;
function Chkinput ($x, $y)
{
$this->name= $x;
$this->pwd= $y;
}
function Checkinput ()
{
Include (".. /conn/conn.php ");
$sql =mysql_query ("select * from
PHP program, the server is IIS, before there is to do a site above, fastcgi,.htaccess, pseudo-static can be used.
Today put a website up, but this site pseudo-static but not, what is the matter? The contents of htaccess are correct. Basically the
Do you usually use the station is UTF-8 or GB2312?
If a Web site with jquery and AJAX is UTF-8 or GB2312 better?
Because I'm doing some simple projects, GB2312 encounter AJAX will be garbled
I think most of the domestic stations use GB2312.
FTP Download Ftp_get Total error Cannot find the file do not know what reason, the local path cannot write absolute path?
$remote _file = "2014-05-30_10-27-24-db.sql"; $local _file = "E:\\wamp\\www\\qc.sql";//(DirName (__file__)). " /.. /..
What should I do if I want to show "member expired" in a certain time period, for example: 2014/5/21-2014/5/31 Show "Advanced Member" date more than 2014/5/31?
Reply to discussion (solution)
What did you mean by the time? User registration
I log in the background with the session, only use the background one login foreground index.php Insert File
You will read the top.php in the background, not the top.php in the root directory. There is no problem locally. There is a problem on the
The first time you use thinkphp, the settings for the path to the resource file in the template have been confused.
Like what
My project adopted the group ' Admin ' and ' Content ', which simply wrote a pagetestaction to test the template
I have a bunch of such data, how do I parse it into an array?
Zhang San
+
Beijing
100010
The length of this data is not fixed, how to parse and store in the array?
Reply to discussion (solution)
$str = '
PHP's going into the project right now.
Do not know what to do project
Mall? Or do you want some advice from the pros?
Hope the project is not too simple or too complex
Just enough for the interview.
In the future work needs to use the knowledge
Here's My code: Why does this code turn the IP address?
Namevirtualhost www.h.com:80
ServerName www.h.com
proxypass/http://www.h.com:8080/
proxypassreverse/www.h.com:8080/
Reply to discussion (solution)
For
I want to implement the function of adding or hiding the module on the webpage, do not know how to implement it? If PHP is not good to implement, other languages can it?
Reply to discussion (solution)
Need to use JavaScript to do hidden, add,
I want to do PHP, but not too dare, do not know how difficult ah? I have learned the HTML CSS JS know PHP database additions and deletions and other operations. How much can you learn to do?
Who is doing web development in the company, revealing,
$sql = "Select Username,sum (IF (types = 1, Smoney, 0)) as T1 from record where 1=1". $s 1. " GROUP by username ";
The result now is that the sum of the Smoney fields of username = Username in the record table = 1 is assigned a variable $t 1
I'd
JQuery pikclist plug-in function is very strong, today from the Forum blog to see the use of the introduction, but also encountered some problems can not be solved, special to help!
The jquery pikclist plugin was used in the form, and I knew that
This article mainly combines jquery to do no refresh paging. The code is basically the same as the first two articles, slightly changed. The page link in this article is written in JS. First on the code:
page4.php
Ajax paging with jquery
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