can any u guys help when ppl get wappied it works but says the wronge thing on profiles as it ment b the lads are owned by the gals and the gals are the lads bitches but it showin other way round heres wot i got for on profiles
$couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'"));
if($couple[0]=='1')
{
echo "Wappid to:";
$unick = getnick_uid($couple[2]);
echo "$whonick is owned by: $unick
";
}
$couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'"));
if($couples[0]=='1')
{
echo "Wappid to:";
$nick = getnick_uid($couples[1]);
echo "$whonick is $nick's bitch
";
}
$noi = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$who."'"));
$var1 = date("His",$noi[0]);
$var2 = time();
$var21 = date("His",$var2);
$var3 = $var21 - $var1;
$var4 = date("s",$var3);
echo "Idle For: ";
$remain = time() - $noi[0];
$idle = gettimemsg($remain);
echo "$idle
"
any help to sort it would b great
$couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'"));
if($couple[0]=='1')
{
echo "Wappid to:";
$unick = getnick_uid($couple[2]);
echo "$whonick is owned by: $unick
";
}
$couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'"));
if($couples[0]=='1')
{
echo "Wappid to:";
$nick = getnick_uid($couples[1]);
echo "$whonick is $nick's bitch
";
}
$noi = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id='".$who."'"));
$var1 = date("His",$noi[0]);
$var2 = time();
$var21 = date("His",$var2);
$var3 = $var21 - $var1;
$var4 = date("s",$var3);
echo "Idle For: ";
$remain = time() - $noi[0];
$idle = gettimemsg($remain);
echo "$idle
"
any help to sort it would b great
Comment