"Http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" >
<title>PHP_ Address Book Browser</title>
Address Book Browser
Reply to discussion (solution)
Request Great God Test Guide! Thank you!
$query = "Select Id,name,email from AddressBook WHERE (name= ' $name ' and id> ' $id ')";
ID is a numeric type, do not use quotation marks, should be changed to
$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 numeric type, do not use quotation marks, should be changed to
$query = "Select Id,name,email from AddressBook WHERE (name= ' $name ' and id> $id)";
No way! Remove the quotation marks or no data display!
Request Great God Test Guide! Thank you!
if (Isset ($left)) {
The $left has never been assigned a value, so $left does not exist
So you don't get into the query branch, and there's no data.
$left variable you have no definition and will not enter the following branch.
if (Isset ($left)) {
if (Isset ($left)) {
The $left has never been assigned a value, so $left does not exist
So you don't get into the query branch, and there's no data.
According to the above specific how to define the assignment Ah, hope specific code guidance! Thank you!
$left variable you have no definition and will not enter the following branch.
if (Isset ($left)) {
According to the above specific how to define the assignment Ah, hope specific code guidance! Thank you!
Extract ($_post); Add this sentence.
function Check_mysql () {
Extract ($_post); Add this sentence.
function Check_mysql () {
Hello! Now add, update, delete function OK! But left and right query and query keywords can not be implemented, or do not display! Please continue under the guidance of the great God, thank you!
Thank you, Moderator!!