Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $query = $pdo->prepare("
- INSERT INTO events_informations
- (miejsce, r, m, d, rmd, godz, min, gm, tytul, tresc, link, obrazek)
- VALUES
- (:miejsce, :r, :m, :d, :rmd, :godz, :min, :gm, :tytul, :tresc, :link, :obrazek)
- ");
- $query->bindValue(':miejsce', $placeStreet);
- $query->bindValue(':r', $year);
- $query->bindValue(':m', $month);
- $query->bindValue(':d', $day);
- $query->bindValue(':rmd', $yearMonthDay);
- $query->bindValue(':godz', $hour);
- $query->bindValue(':min', $minute);
- $query->bindValue(':gm', $hourMinute);
- $query->bindValue(':tytul', $title);
- $query->bindValue(':tresc', '');
- $query->bindValue(':link', $link);
- $query->bindValue(':obrazek', $imagePath);
- echo $query->queryString;
- $query->execute();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement