Hard to find, no result,
Please take a cookie to visit a website, read the source code, processing saved to the file or output out, the novice to ask greatly appreciated.
I wrote it myself, this but can only output the original page effect, do not
Table structure
ID KEY VAL
1 Sex Male
2 Day 365
4 Num 12345
Now I want the echo $a [' sex '] on this page to display the male echo $a [' Day '] to show 365
PHP query MySQL statement how to write convenient at any time echo it?
Reply to
I first run the PHP site locally, the environment has been well-matched, the database is also in, the IIS browsing error, pop up a prompt box, ". $str."
The mistake is this paragraph. There is no great God help to see.
Public Function show_error
In what capacity is PHP program read and write files? Is it another user or what?
Reply to discussion (solution)
If it is windows, it should be the user of IIS, Linux similar principle
The CLI runs as the current user, with the Web server
Today to get a small collection of functions, encountered a problem, the site was collected can not be fsockopen, there is no way to file_get_contents.
Error: http/1.0 503 Service Unavailableserver
How to deal with the HTTP protocol is not very
The concept is still unclear, use do not understand, stupid person!!!
I want to write a whole station global variable, in which class can be shared
For example, I initialize the global variable in Class A, then I can read and write in other classes
My domain name is bound 192.168.1.3 in the local debugging, and later bound to 222.186.50.211 this IP address, after the effective all other computers are already pointing to this IP address, LAN, friends, Customers are already pointing to 222.186.50
I now have a DZ BBS, with a MySQL database. Bought a space. But don't know how to pass the database?
Network space has wwwroot,database,logfile three folders, but DZ BBS database can not go to database folder, need to phpMyAdmin upload, some say
Before with the help of Nusoap development webservices, but as if in PHP 5.3 old error, as if not support, ask you have php5.3 development of relevant instances, or support 5.3 nusoap plug-in, mailbox cxh741@163.com Thank you
Reply to
Iconv ("GB2312", "Utf-8//ignore", $str);
Easy to lose words, unstable, if not "//ignore", after the error is directly not shown.
Is there any other possible way?
Reply to discussion (solution)
Give it a tryMb_convert_encoding
The general
What are the rules for string size comparisons?
For example: "Ten", "10a", "a", "abc" How do they sort in ascending descending order?? Ask for rules!!
Reply to discussion (solution)
As far as I know, the rule of comparison between them is:
Since the Wampserver upgrade to 2.2 (Apache 2.4.2; PHP 5.4.3; MySql 5.5.24) Then call Spaweditor, always error, do not know how to solve, ask for your guidance.
Another: Do not know how to correctly set the Spaweditor access path, check a lot of
Select Name= "Cp_kh" id= "Selmodule" >
When you click the drop-down list, the data from the drop-down list is dynamically taken from the database. What is the way to get the data from the database table for all rows below a field to the
I encountered a problem when writing code, $this->form_validation->run () = = False does not work properly. I run the CodeIgniter User Guide version 2.1.0 form Verification in the details of the example is not it? Which eldest brother elder sister
PHP rookie one, want to know how to customize a label to achieve the following functions:
The article has a line of words, need to not show on the homepage, but click into the inside page and then display.
Ask the Great God for advice
Reply to
The root user executes the command for/usr/local/php/bin/php-f/usr/local/apache2/htdocs/test.php
test.php permissions are:-rwxr-xr-x. 1 root root 22 April 15:04 test.php
The result is: PHP Fatal error:Unknown:Failed opening required
The official Dedecms Backstage login cannot enter account Admin password admin in is blank page what hint also not ... What's the situation here?
Reply to discussion (solution)
PHP.ini set Display_errors=on, restart the server to see
The
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