$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
123456 of 78
How to split the above string into
1234
56 of 78
Such an array
Reply to discussion (solution)
$str = "123456"; $arr 1=preg_split ('//u ', $str); Array_pop ($arr 1);p reg_match_all ('//u ', $STR, $ ARR2); $arr
Each line is an order now add notes to the order do not know how to achieve the idea of batch submission
Reply to discussion (solution)
Is it not the same as the form, and the same as the bulk deleteIn addition, you can add a onchange event
I want to use PHP to implement multi-threading, mainly to clean up some outdated data. However, PHP does not support multithreading. How to solve it? I use the Apache server ~ ~
Reply to discussion (solution)
PHP Try curl with curl to support
I do a vote on the page, the database connection is successful, the following is the method of executing SQL, the query does not error, return 2, but the database data is not updated
But executing SQL successfully in phpMyAdmin can also update the
How does apache+php parse a JSP page under Windows?
Reply to discussion (solution)
No, you need to install Tomcat again.
Before the site is Apache+tomcat, now to get all these to wordpress, what good method?
Get JSP Web page on WordPress?
Just started to know that PHP can do Web site, never contact PHP thread problem, today suddenly learned that PHP is single-threaded, but suddenly think, PHP do the site is definitely for many people access, if the traffic is large, it is not a queue
Because of a website function, yesterday upgraded the server PHP to 5.3.27, with the Wdlinux Lanmp, after the installation of Apache or PHP-V will be error:
Cannot load Zend Extension manager-it is built with configuration 1.2.0,
Moreover, all *.tpl.
The following code works during debug debugging. Can be assigned to the correct value. However, if the browser is running correctly, the assignment fails.
When printed: $_session[' Active_code '), its value is equal to ' 3a '. What's the time,
Class person{
var $name;
function say () {
echo "hello! ";
}
}
$P = new Person;
$p->name= "TOM";
$p->say ();
?>
notice:undefined variable:p in I:\www\PHPnow-1.5.6.4237493736\Package\htdocs\DemoClass.php on line 10
Fatal Error:call to a member
Stream_socket_client need to pass $CTX parameters to do user verification, but this method is disabled, there are other ways to achieve the function of stream_socket_client?
Actually I put the application on the SAE, but the Stream_socket_client
Get close to making a small system of uploading pictures
But the uploader on the size of the picture is not too much concept, do not know the original camera 4000*3800 the solution like the Web page display has a problem, upload the image to
My little brother, who made a very light frame, built a blog on this frame. Would you please enlighten me?
Download Address: http://www.lanecn.com/article/main/aid-11
Server script: PHP
Database: Mysql
Front-end Frame: BootStrap
Use please
A good parameter php file, want to get the final display of the HTM file, in the background how can do?
Reply to discussion (solution)
Save the results of the PHP program output to a file
Save the results of the PHP program output to a file
An SQL statement that runs directly into MySQL is normal.
But the result of running this SQL with PHP mysql_query is different, will it be the reason why mysql_query cannot parse?
SQL is as follows:
INSERT into
$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
Website of the Educational Administration system: http://210.35.72.21:8888/edu/index.html (Login box on the left)
User name: 1101002
Password: 1101002s
Recently in the practice of simulation landing, so I wrote a section of the simulation landing
I weave a dream backstage add an article in the corresponding database table also generates corresponding data why did I manually add a weave in the database the background will not be updated?
Reply to discussion (solution)
Clean up the cache
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