Created
          August 16, 2013 03:30 
        
      - 
      
 - 
        
Save rye761/6247072 to your computer and use it in GitHub Desktop.  
    MySQL query wrong :(
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | $query = "SELECT * FROM `users` WHERE sid64 = :sid64"; | |
| $query_params = array( | |
| ':sid64' => $sid64 | |
| ); | |
| try { | |
| $stmt = $db->prepare($query); | |
| $result = $stmt->execute($query_params); | |
| } catch (PDOException $ex) { | |
| return ("Conversion Failed!"); | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment