There is such a table:
ID (int) name (char) sign (char)
In execution $query = $this->db->get ($table);
$data = $query->result_array ();
Then want to get the value of sign in it (not for display, but to get the value in the controller or model)
$arr =array (); for ($i =0; $i
The above case, why $arr []=1, and not added to the array. Does the parent process not work?
Reply to discussion (solution)
$pid = Pcntl_fork ();Under normal circumstances, what value should the
Simplephptmp is a PHP template engine for data programming, including page templates, data caches, lightweight frameworks for MySQL database encapsulation
Simplephptmp Simple php template, 10 times times faster than smarty, convenient, concise,
Is the adjustment to the Query page query is not just inserted data but open the query page alone can query to the data just inserted at that time is the cache caused by the day I changed Google browser I use Google browser nothing but today with
Dear God, I have two questions:
1: I want to know how to check the source of the mobile phone page? For example
Http://v.youku.com/v_show/id_XMTQwNjU3NTI0MA==_ev_1.html?from=1-1&x
2: My page if upload video, or reference video (with flash viewing),
I novice, in self-study CI 3.x, recently in the practice, encountered a question to ask:
In particular, I want to do a video VOD, where the home page to display the last updated 10 movies (10 records), my idea is to write a controller C_main
A simple store of code that reads cookies,
Put it under the window.
Put it on Linux and there's a problem.
It is in the read time Linux added A, _ logo, tried several times to deposit the second cookie is not a problem at the time, the first one
Definition of the function:
A function is a named, separate piece of code that performs a specific task and can return a value to the program that called it
Advantages of the function:
1. Improve the reusability of the program 2. Improved
A TXT file, which has the format of the IP----domain name data, how to achieve:
Xx.com/?ip=xxx.xxx.xxx.xxx, it gets and displays the domain name of the corresponding IP----domain name, xxx.com
Conversely, xx.com/?domain=xxx.com, gets and displays
Thinkphp really use the wrong, old problems, why thinkphp Ajaxreturn returned is a JSON-formatted string, not a JSON object. Local is the return object, the server is the return string, solve ...
Reply to discussion (solution)
Title, I am currently trying to use the process-oriented native PHP development of a CMS, of course, mainly to practice technology, to achieve which large modules, the old-timers to give a suggestion.
Reply to discussion (solution)
centos6.5:
# service Nginx Start
Starting nginx: [OK]
touch:missing file operand
Try ' Touch--help ' for more information.
Each boot has this warning, resulting in an invalid self-boot. Is this a swelling?
Man, I'm sorry, there are more people
if ($user _password! = $user _password1) {
echo "";
Header ("Location:.. /views/user/adduser.php ");
Exit ();
}
Reply to discussion (solution)
Alert does not work, does not play the box, asks the Great God to help
This is a try.Echo
If the address is not transmitted directly is a picture
How to transfer a picture of a pair of GIF89 through Json_encode ()
Because I was feeling with its transmission address again to access the transfer picture why not direct picture send but I
I click to see the Picture list next to the picture how to load the corresponding picture in sequence
Reply to discussion (solution)
Pass the value, then show the picture
The great God my picture is from the database
Today we continue to study laravel, which registers a controller routing Route::controller () in the route.
Get Request a page first
Class Usercontroller extends controller{public function GetIndex () { echo view (' Index ')
With Phpstorm Xdebug debugging is always more than 10 points so that the time-out.
Environment window Phpstudy php5.3 Apache MySQL
displaying 500 errors
Did a test.
1. In PHP file Set_time_limit (0)
2.php.ini setting Xdebug
To do PHP development, encountered a database processing problems:
Now to work with table inventory, a field of this table is goods_id. Associated to the table goods, but multiple fields in the goods table are connected to their corresponding tables;
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