I'd like to ask you a question about Php+mysql character encoding.
Want to set up the site to UTF8, check a lot of information, the truth also understand, the page, program, database character encoding unified together. The truth is clear, do not know how to do.
Web server space rented by someone else, MySQL config I can't control myself.
Page with the DREAMWEAVER5 design, the default encoding is exac
Ask to get date selector value worth a question
There is an input type=text in the form, how can I get the value of the text box by tapping the text box to pop up the date selector? Because there is no value assignment, the post comes to a null value.
The text box date selector code is as follows:
JS as follows:
function
Brother Rookie, ask a question, Master help AH!!!!!!
The little brother wants to do a click on the data in the table can be edited online. After editing, press ENTER to directly put the newly modified data into the storage!!
HTML code:
$sql = "SELECT * FROM News", $result =mysql_query ($sql), while ($rs =mysql_fetch_array ($result)) {?>
}?>
jque
Ask a question about PHP arrays
How do you realize that the values that exist in the database let the checkbox check in the page
------to solve the idea----------------------
123
------to solve the idea----------------------
Write it wrong, modify it
123
------to solve the idea----------------------
The options should be in the database, which is enumerated when the HTML page is generated,
You
Ask the question of a foreach () function
PHP warning:invalid argument supplied for foreach () in C:\inetpub\wwwroot\hp\client_list.php on line 126
foreach ($idcheck as $u + $s) //This type of foreach will error
What method does not change the original sentence (the original sentence in the site in many places to use) to solve the error problem, in addition (shielding error fun
This time I ask you a more difficult question,
such as code two button a city a province code to achieve the click of the city when the province and its own country at the same time click the province appears the state is connected to the database output value. The problem is that the values are not categorized, which means that the provinces are all out, whichever country you choose. That is, the norma
Ask a question about paging a data
For example, there are tens of thousands of data, paging, if each page 50, a total of thousands of pages, each page generated HTML files.
Each time you add a piece of data, you need to update the thousands of HTML to ensure that the first HTML is the most current data.
Feel too wasted, is there a better way?
------to solve the idea----------------------
This is a static fi
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.