Guest User

Untitled

a guest
Dec 5th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. $uname = "vijesh";
  2. $response = $sdb->select("SELECT password, userType FROM `svv876_user` WHERE userName = '$uname'");
  3. $password = $response->body->SelectResult->Item->Attribute[0]->Value;
  4. $type = $response->body->SelectResult->Item->Attribute[1]->Value;
  5.  
  6. echo $password."\n";
  7. echo $type."\n";
  8.  
  9. if($type == "author")
  10. {
  11. echo "this is an author\n";
  12. }
Add Comment
Please, Sign In to add comment