Created
May 23, 2013 13:10
-
-
Save INDIAN2020/5635944 to your computer and use it in GitHub Desktop.
sql: datahandler in pdo
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
| if(!$sql_statement->execute()) { | |
| return false; | |
| } | |
| $sql_count = $sql_statement->rowCount(); | |
| if($sql_count > 0) { | |
| return true; | |
| }else { | |
| return false; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment