Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if($_SERVER['REQUEST_METHOD'] === 'POST'){
- if(isset($_POST['submit'])){
- try{
- //Code here
- echo "Hello";
- }catch(PDOException $e){
- echo 'Connection error: '.$e->getMessage();
- }// end of catch
- }
- }
- ?>
Add Comment
Please, Sign In to add comment