Output 500 Error during program debugging

Source: Internet
Author: User
Help, I write well after debugging when found not to show things, after the review element found 500 error
installation package provided by lnmp.org for the environment, PHP version 5.6
MySQL can be connected via the YA-black probe test
The following list of all the code please help analyze where the problem is, how to modify
The address is http://test.ni-co.moe/sousuo.php.

mysql.php main query output file


  
   connect_error) {    die("bad login: " . $conn->connect_error);    };echo "mysql login good";$cx= 'select * from test where find_in_set($sousuo,name )';$dc= $conn->query($cx);echo $dc;$row = mysql_fetch_assoc(mysql_query($cx));//通过结果集得到行echo $row;foreach($row as $key => $value){    $new['p'.$key] = $value;//在变量名前面批量+ p,一个数组 }extract($new);//将数组的索引作为变量名加入符号表echo $row+"/"+$new;echo "pid:"+$puid+"
host:"+$puser+"
pwd:"+$fpwd;// :)?>

Sousuo.php for users to submit forms


  
   提交信息
  
   

conifg.php information for MySQL


  
   

huancun.php To disable caching


  
   

Reply content:

Help, I write well after debugging when found not to show things, after the review element found 500 error
installation package provided by lnmp.org for the environment, PHP version 5.6
MySQL can be connected via the YA-black probe test
The following list of all the code please help analyze where the problem is, how to modify
The address is http://test.ni-co.moe/sousuo.php.

mysql.php main query output file


  
   connect_error) {    die("bad login: " . $conn->connect_error);    };echo "mysql login good";$cx= 'select * from test where find_in_set($sousuo,name )';$dc= $conn->query($cx);echo $dc;$row = mysql_fetch_assoc(mysql_query($cx));//通过结果集得到行echo $row;foreach($row as $key => $value){    $new['p'.$key] = $value;//在变量名前面批量+ p,一个数组 }extract($new);//将数组的索引作为变量名加入符号表echo $row+"/"+$new;echo "pid:"+$puid+"
host:"+$puser+"
pwd:"+$fpwd;// :)?>

Sousuo.php for users to submit forms


  
   提交信息
  
   

conifg.php information for MySQL


  
   

huancun.php To disable caching


  
   

Your 500 mistake is obviously the program is wrong, the Web server reported that the code problem

The width of the id=body part is wider than that of the head.

You can view the following error log ~

  • 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.