Advertisement
Guest User

php code

a guest
Jan 21st, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. <?php
  2. include 'connect.php';
  3. if(isset($_POST["form1"])) {
  4. echo "Form 1 have been submitted";
  5. } else if(isset($_POST["form2"])) {
  6. echo "ee";
  7. $sql = "SELECT * FROM ogge_sample2.Customer";
  8. $result = mysqli_query($sql);
  9. $row = mysqli_fetch_row($result);
  10. echo $row[0];
  11. var_dump($row);
  12. }
  13. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement