Advertisement
Guest User

Untitled

a guest
Feb 21st, 2020
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. <?php
  2.  
  3. function sqli_connect($param1, $param2) {
  4.  
  5. if ($param1 === $param2) {
  6. return true;
  7. }else
  8. {
  9. return false;
  10. }
  11. }
  12.  
  13.  
  14. $conn = sqli_connect("a","a");
  15.  
  16.  
  17. if ($conn) {
  18.  
  19. echo "conectado";
  20. }else
  21. {
  22. echo "erro ao conectar";
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement