Some code, or knowledge. Want to put it down at any time, how do you make notes, with what software ah, I hope you can publish comments, Exchange. There is no software that can save the picture and save the text, and can support the syntax
Zend Studio is too big, I don't need debugging, code management and other functions, only the IDE with code hints and auto-complete functions,
Start and run must be fast, can be set using Fixedsys fonts.
NetBeans is also too big, and unbearable is
Function nav ($parent) {
$sql = mysql_query ("Select * from menu where parent = ' $parent '");
while ($row = Mysql_fetch_array ($sql)) {
Echo '
'. $row [' name ']. ';Nav ($row [' id ']);Echo '';
}
}
How to set the sub-class UL output it?
Like
There is a TXT file, about 300 MB, want to read PHP, and then the sub-bar inserted into the database, what should be done, the TXT file format is probably the case. What should I do?
Wangli # 20100203 # John Doe
LIWSI # 2015544 # Xiaofen
Wangli # 2
I am a beginner codeigniter, using its file upload class to upload a CSV or Excel file, while using Phpexcel to read the contents and mount the database. My program is as follows:
controllers/products.php file:
$memsn = $this->session->userdata ('
I built two tables in MySQL.
Mysql> describe;
+--------+----------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+----------+------+-----+---------+-------+
| name | char (20) | NO | PRI | NULL | |
| Doctor
This is the case, now I need to use jquery ajax to request a PHP file to get the content of an XML file, which needs to be loaded into JSON data issued
Because of not familiar with PHP, ask this function and JS receive the JSON data after how to
My PHP program is this: the user there is a submission form content, after the user submits the form, here to write it to the database:
if ($_POST[WB])
{
mysql_query ("INSERT INTO .....") ", $connect);
$_POST[WB] = "";
}
I mean, when $_POST[WB]
Manual documentation for these parameter comments are all empty, to self-write program test ... Alas
Just look at the name. Recursiveiteratoriterator is a recursive iterator, followed by an optional four parameter (only any one)
macaddress= ' 00e021ac7d '; $timeOut = ' 60000 ';//timeout, we recommend that you do not change this value assignment method: $obj->timeout=60000; Function Call Method: A new object needs to be first $obj =new Uuapi; $obj->setsoftinfo (' 2097 ', ' b7
Version: thinkphp 3.1.3
Question: If _initialize () is defined in the thinkphp in the custom model, the data cannot be queried in this _initialize using $this.
My idea: What is the effect of moving _initialize from the __contruct method in the model
Linux:ubuntu 14.04
php:5.5
Install PHP has been installed successfully and can phpinfo () output information, but in the compilation installation Pdo_mysql error (compiling other extensions is also the same problem) when generating configure I use
PHP Gets the value of jquery Ajax pass, how to set this value as a global variable in PHP
Reply to discussion (solution)
The variables passed in are in the hyper-global array, please describe your needs
I want to use the value that is passed
I am now studying the API of Baidu Map, encountered some problems
For example, I have extracted such information, information in the http://likeapp.duapp.com/yx/4.php, but there is a lot of content, Baidu's interpretation of the field is such http://
CodeIgniter (hereinafter referred to as "CI") is an excellent foreign PHP lightweight MVC framework that supports PHP4 and PHP5, and is a powerful tool for developing small and medium-sized Web applications with high scalability requirements. At
Header ("content-type:text/html; CHARSET=GBK "); Send a header
$a =headers_sent ();
Var_dump ($a); False
Why is this return false?????
Reply to discussion (solution)
The issue was mentioned in the
$fp = fopen ("/www/modernsky/test_id_validater/1.jpg", "WB") or Die ("can ' t open file");
$fp = fopen ("1.jpg", "WB") or Die ("can ' t open file");
These statements always return "can ' t open file" and do not understand where the problem is
Recently, I prefer to pick up the details, because these details are very helpful for code writing and bug finding, and can greatly improve the speed of project development.
Talk less, we begin to explain PHP Boolean.
First, the Boolean type is
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