Why is no data displayed in my address book browser? Thank you.

Source: Internet
Author: User
Why is no data displayed in my address book browser? Thank you.Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>


Php _ address book browser



Address book browser





Reply to discussion (solution)

Please refer to the test Guide! Thank you!

 $query="SELECT id,name,email FROM addressbook WHERE (name='$name' and id>'$id')";

Id is a value type. do not use quotation marks. it should be changed
 $query="SELECT id,name,email FROM addressbook WHERE (name='$name' and id>$id)";

 $query="SELECT id,name,email FROM addressbook WHERE (name='$name' and id>'$id')";

Id is a value type. do not use quotation marks. it should be changed
 $query="SELECT id,name,email FROM addressbook WHERE (name='$name' and id>$id)";



No! No data is displayed after the quotation marks are removed!

Please refer to the test Guide! Thank you!

If (isset ($ left )){
$ Left has never been assigned a value, so $ left does not exist.
Therefore, the query branch will not be entered, and data will naturally not exist.

$ Left variable is not defined and will not enter the following branch.

If (isset ($ left )){

If (isset ($ left )){
$ Left has never been assigned a value, so $ left does not exist.
Therefore, the query branch will not be entered, and data will naturally not exist.



How can I define a value assignment based on the above definition? please refer to the specific code guide! Thank you!

$ Left variable is not defined and will not enter the following branch.

If (isset ($ left )){



How can I define a value assignment based on the above definition? please refer to the specific code guide! Thank you!


Extract ($ _ POST); // add this sentence
Function check_mysql (){


Extract ($ _ POST); // add this sentence
Function check_mysql (){



Hello! Now the add, update, and delete functions are OK! However, the left and right query and query keywords cannot be implemented or are not displayed! Thank you for your guidance!

Thank you !!

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.