Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function Dodaj($db, $kiedy, $diagnoza, $Uzytkownicy_IdU, $SlowLekarz_idSL){
  2. $sql = "INSERT INTO `typerw`.`Wizyty` (`IdW`, `kiedy`, `diagnoza`, `Uzytkownicy_IdU`, `SlowLekarz_IdSL`) .
  3. VALUES (NULL, '$kiedy', '$diagnoza', '2', .
  4. (SELECT IdSL FROM SlowLekarz WHERE 'NPWZ' = '$SlowLekarz_idSL'))";
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement