Я думаю, у вас есть HTML и PHP коды в одном файле.
В чем может быть проблема:
Добавить условие, если форма размещена, перейти к удалению продукта.
if (isset( Я думаю, у вас есть HTML и PHP коды в одном файле.
В чем может быть проблема:
Добавить условие, если форма размещена, перейти к удалению продукта.
[110]POST['productCode'])) {
// Get ID
$code = filter_input(INPUT_POST, 'productCode', FILTER_VALIDATE_INT);
// Delete the product from the database
if ($code != false) {
$query = 'DELETE FROM products
WHERE productCode = :productCode';
$statement = $db->prepare($query);
$statement->bindValue(':productCode', $code);
$success = $statement->execute();
$statement->closeCursor();
}
}
I think you want
git push --tags
as that, well, pushes all your tags :)
There are some alternatives of course, this being git and all (replace origin with your repo of choice):
git push origin tag 0.5
or
git push origin refs/tags/0.5:refs/tags/0.5
See git-push(1) for further details. "git ready" has some useful info in their tagging article as well.