Chapel Help

Started on the old forum in March 2009 · view the original in the archive · old links redirect here

6 replies · 420 views · started 17 years ago · 1 min read

4 participants
lee28 Junior · 11 posts #1

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

crazybrumi Super moderator Principal · 1,064 posts #2

try this, iv just gone on the principle of changine the variable names around. so it might not work as i havent read all of it.

$couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'"));
if($couple[0]=='1')
{
echo "[b]Wappid to:[/b]";
$unick = getnick_uid($couple[2]);
echo "$unick is owned by: $whonick 
";
}
$couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'"));
if($couples[0]=='1')
{
echo "[b]Wappid to:[/b]";
$nick = getnick_uid($couples[1]);
echo "$nick's is $whonick  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 "[b]Idle For:[/b] ";
$remain = time() - $noi[0];
$idle = gettimemsg($remain);
echo "$idle
";

Want something coded email me at sales@webnwaphost.com for a prices.

http://flagcounter.com/more/W80q

lee28 Junior · 11 posts #3

cheers m8 that didnt work tho just made screen go white lol thanx anyway for tryin

metulj Super moderator Principal · 1,726 posts #4

QUOTE (lee28 @ Mar 7 2009, 09:18 AM) <{POST_SNAPBACK}>

cheers m8 that didnt work tho just made screen go white lol thanx anyway for tryin

theres missing ; after

echo "$idle
"

that surely not good..

It's better to keep your mouth shut and give the impression that you're stupid, than to open it and remove all doubt. ⓣⓗⓔ ⓠⓤⓘⓔⓣⓔⓡ ⓨⓞⓤ ⓑⓔ©ⓞⓜⓔ, ⓣⓗⓔ ⓜⓞⓡⓔ ⓨⓞⓤ ⓐⓡⓔ ⓐⓑⓛⓔ ⓣⓞ ⓗⓔⓐⓡ ! ιη тнєσяу, тнє ρяα¢тι¢є ιѕ α яєѕυℓт σƒ тнє тнєσяу, вυт ιη ρяα¢тι¢є ιѕ тнє σρρσѕιтє.

キノgんイノ刀g 4 ア乇ムc乇 ノ丂 レノズ乇 キucズノ刀g 4 √ノ尺gノ刀ノイリ!

lee28 Junior · 11 posts #6

same still white screen m8

subzero Super moderator Fellow · 3,954 posts #7
$couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who='".$who."'"));
if($couple[0]=="1")
{
echo "[b]Wappid to:[/b]";
$unick = getnick_uid($couple[2]);
echo "$unick is owned by: $whonick 
";
}
$couples = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE partner='".$who."'"));
if($couples[0]=="1")
{
echo "[b]Wappid to:[/b]";
$nick = getnick_uid($couples[1]);
echo "$nick's is $whonick  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 "[b]Idle For:[/b] ";
$remain = time() - $noi[0];
$idle = gettimemsg($remain);
echo "$idle
";

when having " to ' page it will not show so place "

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close