Version 2
This commit is contained in:
18
pagecontent/action-checkForTooltip.php
Normal file
18
pagecontent/action-checkForTooltip.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
$sql = "SELECT `settings` FROM `VokabelBox2Users` WHERE `userid` = '$userid'";
|
||||
$result_articles = $conn->query($sql);
|
||||
while ($articleDb = mysqli_fetch_object($result_articles))
|
||||
{
|
||||
$settings = json_decode($articleDb->settings, true);
|
||||
}
|
||||
|
||||
if (strpos($settings[1]['closed-tooltips'], $meta)) {
|
||||
die();
|
||||
}
|
||||
|
||||
else {
|
||||
print("true");
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user