Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- db.execSQL("INSERT INTO MYTABLE VALUES('','"+name+"',NOW());");
- if($result)
- echo 'success';
- else
- echo 'not inserted';
- try {
- db.execSQL("INSERT INTO MYTABLE VALUES('','"+name+"',NOW());");
- } catch (SQLException e) {
- ...deal with error
- }
Add Comment
Please, Sign In to add comment