How did thinkphp get an error?

Class Editaction extends action{ Public function edit () { $goods =m (' goods '); $id =$_get[' id ']; $arr = $goods->where (id= $id)->find (); Dump ($arr); $this->display (); } } ?> Reply to discussion (solution) where ($condition)->find ();

How PHP obtains absolute and relative path files and copies them to a directory

php How to copy php to get absolute path and relative path file Untitled Document Title: How PHP obtains absolute and relative path files and copies them into a directory I want to get the files in the relative or absolute path

100 points for a detailed solution to the coexistence of the IIS environment and the WAMP environment!!

We use the WIN2003 server, the boss wants IIS and Wamp to be able to use the 80 port together, do not stop IIS, or the port and other scenarios, can be accessed through the normal URL. Thank you!!! I am now running in the IIS environment, Apache

Do you write your own MVC or use it out of the box?

A project has recently been made that requires object-oriented writing. I want to use the MVC pattern to write, do not know that I write an MVC difficult? Or is it better to use a ready frame? Because you've been writing code with process-oriented,

C # Call WebService

WebService I php with Nusoap write webservice, use this write not to thank WSDL file? So how does C # call? Reply to discussion (solution) Personally, don't play webservice anymore ... This technology has not been mentioned for many years

Weibo sync issues for help.

Weibo content synchronization I want to do an article in the background of the site automatically synchronized to the function of Sina Weibo;Now different browsers or different computers need to be re-authorized, that is, micro-blog processing login

Help to see if this file has a backdoor or loophole!

I am a rookie my station always has a Trojan file, the hacker is how to upload to my station, very curious. serial number number stop number under accounted for although

I've never understood why we used Smarty and memcache~~~~.

All say Smarty + memcache with is a good combination, but I do not understand why use the Smarty also use memcache~ Because Smarty does not have a page cache, for example, now there is a page a, I specify that it caches the time is 10 minutes, it is

God Help, please, thank you!!

I want to make a button under the audit, click Audit. Just My code over there will not achieve ah, how to add buttons, how to do it, eldest brother, elder sister to help Isaac!! It's a split. Reply to discussion (solution) The information given

Questions about recursive calls

I now have an array that I want to achieve by recursion Similar to the tree, the effect you want to achieve is as follows: Flag (ID 1) |_307 |_307 Hatchback |_307 Three Saloon |_308 |_308 Hatchback |_308 Three Saloon Buick (ID 4) Defines an array

How can I get the domain name and save it automatically?

The thing is this, someone looted our template, how to add to the template automatically get the domain name list and automatically saved to my other website txt file Ah! I believe you all understand! Please enlighten me! Reply to discussion

"Help" php two-dimensional array to remove a specific duplicate value problem

Recursive value of PHP two-dimensional array Original array: $arr = Array ( Array (' id ' = = 1, ' name ' = ' aaa ', ' uid ' =>1), Array (' id ' = = 2, ' name ' = ' bbb ', ' uid ' =>2), Array (' id ' = = 3, ' name ' = ' CCC ', ' uid ' =>3), Array ('

How to classify statistics in the following array

$t 2=array ( [Nanchang] = = Array ( [Excellent] = 1 [Good] = 1 ) [Ganzhou] = = Array ( [Excellent] = 2 ) [Jiujiang] = Array ( [Good] = 1 [Poor] = 1 ) ) Nanchang, Ganzhou Jiujiang excellent number of statistics. (According to $t2 to calculate

How to write interface with PHP!

Ask all of you experienced brother, the company to provide a member of the interface to the mobile phone app, said to be written in PHP can! I want to know how to write this interface! 1. Is it possible to use curl? 2. Or you can use GET or post.

Questions about variables and circular statements

Daniel, the news wants to ask a question about Ajax and PHP, and now I have a situation like this I want the front-end page to click on a tag, below can display my information about the above click on the tag to associate the data, the code is as

PHP can be based on the judgment of JS to assign variables, details as follows

PHP JS var num = document.body.clientwidth;//js Get screen width if (num = 1) { ? }else{ ? } PS: According to JS to get the different width of the screen to the PHP variable assignment Reply to discussion (solution) You can put the script

PHP intercepts string problems! Online and other online knot stickers

Yybb_cx. Yybb_xdf. Just like the string above. I just need _ back and. Letters in front For example, the above two I need is CX and xdf what should be done? Reply to discussion (solution) $s = Is this the replacement of the original?

Multi-criteria query, the null value submitted (condition) how to handle

Table 1 has brands, years, models Board (Bmw,ford,aodi) Year (2011,2012,2013) Type (CAR,SUV,MPV) I made three drop-down menus, and the user selects the query 1, selected BMW in board and 2013 in year, but the third type was not chosen, But when

Database connection failed: Mysql_error:access denied for user ' root ' @ ' localhost '

Difficult diseases Database connection failed: Mysql_error:access denied for user ' root ' @ ' localhost ' (using Password:yes) What is this, what's the password?I'll put Appserv in the bar. This error occurs when the project is accessed and then

Is it an environmental problem?

PHP Environment Download a PHP program, why my program change environment can not modify the background, submitted, a piece of white, such as Apachewindows replaced Nginxlinux Reply to discussion (solution) Most of it! such as the level of

Total Pages: 5208 1 .... 3263 3264 3265 3266 3267 .... 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.