YaWK  24.1
Yet another WebKit
follow-user.php File Reference

Go to the source code of this file.

Variables

 $hunted = $_POST['hunted']
 
if(!isset($db)) $uid = $_POST['uid']
 
 $userA = \YAWK\user::getUserNameFromID($db, $uid)
 
 $userB = $_POST['user']
 
if($sql=$db->query("SELECT id FROM {follower} WHERE follower = '". $uid."' AND hunted = '". $hunted."'")) else
 

Variable Documentation

◆ $hunted

$hunted = $_POST['hunted']

Definition at line 23 of file follow-user.php.

◆ $uid

if (!isset( $db)) $uid = $_POST['uid']

Definition at line 22 of file follow-user.php.

◆ $userA

$userA = \YAWK\user::getUserNameFromID($db, $uid)

Definition at line 25 of file follow-user.php.

◆ $userB

$userB = $_POST['user']

Definition at line 24 of file follow-user.php.

◆ else

if ( $sql=$db->query("SELECT id FROM {follower} WHERE follower = '". $uid."' AND hunted = '". $hunted."'")) else
Initial value:
{
echo \YAWK\alert::draw("danger", "Error!", "Some kind of error happened to the database. Please try again.","",4200)

Definition at line 55 of file follow-user.php.