Chapel Help

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Chapel Help

    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

    #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.

    Code:
    $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.




    Comment


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

      Comment


        #4
        <div class='quotetop'>QUOTE (lee28 @ Mar 7 2009, 09:18 AM) <{POST_SNAPBACK}></div>
        cheers m8 that didnt work tho just made screen go white lol thanx anyway for tryin[/b]
        theres missing <span style="font-size:12pt;line-height:100%">;</span>
        after
        Code:
        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ノ刀ノイリ!

        Comment


          #5
          nicely pointed out metulj. try nw lee
          Want something coded email me at sales@webnwaphost.com for a prices.




          Comment


            #6
            same still white screen m8

            Comment


              #7
              Code:
              $couple = mysql_fetch_array(mysql_query("SELECT accept, who, partner FROM couple WHERE who=&#39;".$who."&#39;"));
              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=&#39;".$who."&#39;"));
              if($couples[0]=="1")
              {
              echo "[b]Wappid to:[/b]";
              $nick = getnick_uid($couples[1]);
              echo "$nick&#39;s is $whonick  bitch 
              ";
              }
              $noi = mysql_fetch_array(mysql_query("SELECT lastact FROM ibwf_users WHERE id=&#39;".$who."&#39;"));
              $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 &#39; 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...
              _______
              Info & Tips
              php.net
              w3schools.com

              Comment

              Working...
              X