The word "new" in PHP

Source: Internet
Author: User
PHP New Wonderful

My PHP novice today encountered a wonderful problem request parameter has "new" the word
IE will report "invalid data" Firefox will not error
Asking the gods to popularize why


Reply to discussion (solution)

Put out the code and see.

Make the menu bar section code

 
 
• Education News
Ejajo Column
• Resource Sharing
• Parental education
• Chicken Soup with Heart
• Latest Announcements

This is a data sheet, it's a wonderful thing, and it's no problem.
 
 
  
   
 
  
 
 Open ($sql, $conn, $_request[), if ("page"]== ") $page =1;else$page=intval ($_request[" page "]); $i =0; $rs Pagesize=15;if ($page <1) $page =1;if ($page > $rs->pagecount) $page = $rs->pagecount;if ($rs->pagecount >0) $rs->absolutepage= $page;? >
 
 
Select AllInverse selection ' value= ' information sort >

The problem is that when the point is added, the data invalid code is as follows

 
  
  

Why the first time to list.php useful to upload to the add page is invalid data to delete the word "new" just fine
Weird

If you use the URL to pass the Chinese, remember to urlencode at any time, otherwise you cry
Because this involves browser recognition, browser delivery, server identification, server to the 4 levels of PHP, if any one of the 4 links encoding is not correct, will result in unrecognized parameters.


Change to

"

Other places are treated the same way, that is, when using the x.php?x=x format, make sure that the value of X is UrlEncode encoded, especially Chinese.

If you use the URL to pass the Chinese, remember to urlencode at any time, otherwise you cry
Because this involves browser recognition, browser delivery, server identification, server to the 4 levels of PHP, if any one of the 4 links encoding is not correct, will result in unrecognized parameters.


Change to

"

Other places are treated the same way, that is, when using the x.php?x=x format, make sure that the value of X is UrlEncode encoded, especially Chinese.
Thanks for the method, I just tried it or it didn't work.

  • Contact Us

    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

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.