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 !!