PHP question [urgent] [urgent] [urgent] [urgent] Please help me with template assignment
The final page code is as follows:
Assign ("show", 'success '); $ show = '000000'; include ('Templates/index.html '); ====================================
The first time I used THINKPHP to report a path error on the Internet: generate an index. php, as shown below:
// Define the ThinkPHP framework path
Define ('think _ path', '../thinkphp ');
// Define the project name and path
Define ('app _ name',
The original statement about how php Server works in C language:
How HTTP worksConnection: The Web browser establishes a connection with the Web server and opens a virtual file called socket. the establishment of this file indicates that the
Database read error in discuzx2.5. could you give me some advice! The code in bargai_indexphp in source \ module \ bargai is:
$ SQL _store = 'SELECT cate_name FROM ecm_scategory ORDER BY sort_order ';
$ My_category = implode ('', DB: fetch_all ($
SQL statement problems, associated queries, one-to-multiple tables for teachers and students, one teacher corresponds to multiple students. I want to find out the students 1, 2, 3, and 4, 5, and 6 corresponding to teacher.
Reply to discussion (
How does php call the js method form and submit it to PHP in the background for processing? after processing, a method of js the day before yesterday needs to be called to display a pop-up layer, but the js method cannot be found when an error is
When installing PHP, MSVCR110.dll File loss occurs. solve the problem. when php.exe is running, it is shipped to "unable to start this program because MSVCR110.dll is lost in the computer. Try to reinstall the program to solve this problem ." Prompt,
Php cannot locate the program input point. I installed the xampp integrated environment. when I started the environment in recent days, I always talked about the box "unable to locate the program input point OCIClentVersion and dynamic link library
Php + mysql + js drag div instance php + mysql + js drag p instance code has been modified and can be directly used in the directory. Suitable for beginners!
For example, it is suitable for moving and dragging message boards,
Implementation
One form and two post Conflicts. I have made two buttons for the next form and two post statements.
Then press the first button and a table thinkphp appears after the next page is clicked.
The other button post does not work.
Firebug: Check
How to publish a PHP website? How to publish a PHP website? You have created a website in the local XAMPP environment. Want to publish to the server. I know I need to buy a space and a domain name. What should I do after I buy it? How can I obtain
Concerning the problem that the file upload plug-in plupload is used to obtain the server return value, I use the plipload plug-in to upload a file. each time the file is successfully uploaded, the data returned by the server cannot be obtained, it
Write a MVC framework of your own PHP (2) The first article has set up the required directory. the next job is to write some code.
Open the public/index. php file in the editor and write the above code.
The code of the entry file is
Value passing in the thinkphp Template
This is the site setting code public function site () {$ site = M ("site"); $ list = $ site-> select (); $ this-> assign ("list", $ list); $ this-> display ();} public function update () {$ site = M ("site ");
Php obtains the performance of linux machines
The output format is as follows: There are a total of 11 CPUs, and each CPU utilization is as follows:Cpu = 0.46448573378952%Cpu0 = 0.31392223749401%Cpu1 = 0.53497469529473%Cpu2 = 1, 0.48665815912626
In the following statements, how do I set multi-condition query $ result_style = $ row ['result'] = 'red '? 'Style = "color: red "':'';
This code is red only when the result is red.
How can I set the style to red when the result is red and $ row
Hope you can write a php source code for me. hope you can write a php applet code for me.
The specific function is that I want to use a barcode scanner to scan the barcode generated by the return. after reading the barcode, the system will
Speedphp.
Ask me for answers!
Thank you !!!
Reply to discussion (solution)
I don't know. how can I change your website layout?
In the MVC architecture, isn't the entry file an index, Enter the absolute path of the official website
Two
One problem with PHP + mysql is the product table.
The red circle is the product's column group ID.
This is the product topic table.
My current problem is:
From the front end, I pass the ID of a product column table through GET. after obtaining
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