YaWK
24.1
Yet another WebKit
|
Go to the source code of this file.
Variables | |
$itemid = $_POST['itemid'] | |
$res = $db->query("SELECT voteUp FROM {blog_items} WHERE id ='" . $itemid . "'") | |
$votes = mysqli_fetch_row($res) | |
$voteUp = $_POST['voteUp'] | |
if(!empty($votes[0])) | else |
if (!isset( $db)) | |
Definition at line 7 of file vote-up.php.
$res = $db->query("SELECT voteUp FROM {blog_items} WHERE id ='" . $itemid . "'") |
Definition at line 9 of file vote-up.php.
$votes = mysqli_fetch_row($res) |
Definition at line 10 of file vote-up.php.
$voteUp = $_POST['voteUp'] |
Definition at line 6 of file vote-up.php.
if ( $res) else |
Definition at line 14 of file vote-up.php.
if(!isset($db)) | ( | ! | isset $db | ) |
Definition at line 3 of file vote-up.php.