spinn_mit/system/addLike.php

12 lines
162 B
PHP

<?php
$likeCount =
$currentId =
$sql = "UPDATE idee SET likes=? WHERE id=?";
$stmt = $db->prepare($sql);
$stmt->execute($likeCount, $currentId);
?>