About the Smarty module
Contrary to the Smarty module inheritance.
I now want to nest B.tpl in a template a.tpl
and template B has its own PHP (program) files.
The effect is similar to a controller in C #.
What should I do?
------Solution--
Chinese query: Select where gender= ' man '????????????????
$sql = "Select Id,username,nichen,gender,hangye from UserInfo WHERE gender = ' Male '";
mysql_connect ("localhost", "root", "");
mysql_select_db ("MyDB");
mysql_query ("Set
Data cannot be written to the database
Session_Start ();
$coon = @mysql_connect ("localhost", "root", "ch12345") or Die ("Database link error");
mysql_select_db ("Literature", $coon);
mysql_query ("Set names ' UTF-8 '");
@ $username =$_post['
Can PHP invoke dynamic files across domain names?
Can php invoke dynamic files across domain names?
For example have the website www.a.com and the website www.b.com,A the php file can contain the PHP file inside B website?
------Solution---------
Appserv How to modify a virtual directory
Previously used wamp+myeclipse for PHP, but often this situation, annoying can not be bothered,, to solve, rage changed appserv+dreamweaver CS5 such a combination, but the problem is that can not modify the
Is there a ready-made query system?
Ask for a basic information query system
functions as follows
Member Login: Query recent consumption records
Admin Login: Add member, adjust balance for member, add consumption record
Are there any such
About PHP operation MySQL database, garbled problem, master da people, see help solve
My situation is as follows:
My Web page is GB2312 encoded, my database encoding is UTF8, if I want to let the database content read to the page, to add mysql_query
PHP form receive parameters
As shown, how to
receive parameters in a form. When you click on the parameters, the following parameters are added. Thank you.
------Solution--------------------
JS processing problem. Parameters trigger a Click
Smarty's caching switch has asked
For Smarty understanding is not too deep, but $smarty->caching = false; not for the cache app? For sites that do not require immediate updating, the cache should not be opened better? But why are the caches of many
PHP Interception of Web Forms
One of my pages is as follows:
HTML Code
How can I get the data in the table??
------Solution--------------------
Explore
Reference:
If so, you can use the
You big,, younger brother is learning this PHP jump code,, in all browser testing can jump, but in the Firefox browser will not automatically jump, because it is used to the JS implementation.
You big,, younger brother is learning this PHP jump code,
Dedecms Picture (map) Link problem
Pictures such as:
The image page is a.htm when I click on the 01 area of the image to jump to the specified page such as page b.htm where b.htm contains {dede:include filename= "head.htm"/}
Code in A.htm:
I
A simple form submission, and then return to the submission page, need the corresponding data
test3.php:
test4.php:
$brand = $_request["brand"];
$model = $_get["model"];
$years = $_get["Years"];
$a = Array ($brand, $model,
The debugging method of seeking vs.php
Online Search n Multi-material
Set the number of times or can not break the breakpoint
To have experienced Master Guide!!!
------Solution--------------------
Do not use VS, so big monster, start I feel tired
-
An array of PHP Chinese key names things
I found that PHP is supporting the use of Chinese key names in arrays
Isn't that bad for you? Will there be any problems, always feel a bit awkward ... Be afraid of unexpected circumstances
------Solution-
About PHP Design Patterns
Have you ever participated in the project or application of the comparison system, what is your idea of the system frame design?
Now a lot of people talk about MVC, this design pattern is easier to maintain.
Others have
This line of code inscrutable, who can read?
Phpwind Database Job table, there is a reward field, the saved string seems to be a JSON format, but I have not seen this format, how to use, what are the advantages?
Appears to be the rule configuration
The problem with Ord ()
The manual says that it is converted to ASCII, but ASCII has only 127 characters. Why does Ord ("I") still be able to output the results?
------Solution--------------------
Who tell U ASCII only 127?
Plus the extension
Questions about reading Cookies
There is an IFRAME framework under A's Domain Name page, and the content within the framework is the page that invokes the B domain name. Want to read and write the cookie under the B domain name in the frame page of
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