Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $uname = "vijesh";
- $response = $sdb->select("SELECT password, userType FROM `svv876_user` WHERE userName = '$uname'");
- $password = $response->body->SelectResult->Item->Attribute[0]->Value;
- $type = $response->body->SelectResult->Item->Attribute[1]->Value;
- echo $password."\n";
- echo $type."\n";
- if($type == "author")
- {
- echo "this is an author\n";
- }
Add Comment
Please, Sign In to add comment