Problem In Share Credits In Funmobile Script

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

    Problem In Share Credits In Funmobile Script

    can any1 plz help me that wats wrong in this index.php codings bcoz i m getting error like Parse error: syntax error, unexpected T_ECHO, expecting ',' or ';' in /home/wap/public_html/index.php on line 5013





    }else if($action=="givep")
    {
    addonline(getuid_ses($ses),"Share your Credits","");
    if($mime== WEB)
    {
    echo webhead($uthm,$stitle);

    echo "<p align=\"center\">";
    echo "Here you can share credits with your Firends
    Note:All Logs are Reporting to Staff
    "
    echo "Give Credits To ".getnick_uid($who)."

    ";
    $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id=&#39;".getuid_ses($ses)."&#39;"));
    echo "You have $gps[0] Credits

    ";
    echo "<form action=\"genproc.php?action=givep&ses=$ses&who=$wh o\" method=\"post\">";
    echo "Credits to give
    ";

    echo "<input name=\"ptg\" format=\"*N\" maxlength=\"2\"/>";
    echo "
    ";

    echo "<input type=\"submit\" value=\"Give Credits\"/>";
    echo "</form>";
    echo "

    <a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
    echo webfoot();

    }else{
    echo waphead($stitle);
    echo "<onevent type=\"onenterforward\">";
    echo "<refresh>
    <setvar name=\"tfgp\" value=\"0\"/>";
    echo "</refresh></onevent>";
    echo "<p align=\"center\">";
    echo "Give Credits To ".getnick_uid($who)."

    ";
    $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id=&#39;".getuid_ses($ses)."&#39;"));
    echo "You have $gps[0] Credits&#39;s

    ";
    echo "credits&#39;s to give
    ";
    echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
    echo "
    <anchor>Give";
    echo "<go href=\"genproc.php?action=givep&ses=$ses&who=$who\ " method=\"post\">";
    echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
    echo "</go></anchor>";
    echo "

    <a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
    echo wapfoot();

    }
    sigpic

    WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

    #2
    can any1 plz help me that wats wrong in this index.php codings bcoz i m getting error like Parse error: syntax error, unexpected T_ECHO, expecting &#39;,&#39; or &#39;;&#39; in /home/wap/public_html/index.php on line 5013
    }else if($action=="givep")
    {
    addonline(getuid_ses($ses),"Share your Credits","");
    if($mime== WEB)
    {
    echo webhead($uthm,$stitle);

    echo "<p align=\"center\">";
    echo "Here you can share credits with your Firends
    Note:All Logs are Reporting to Staff
    "
    echo "Give Credits To ".getnick_uid($who)."

    ";
    $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id=&#39;".getuid_ses($ses)."&#39;"));
    echo "You have $gps[0] Credits

    ";
    echo "<form action=\"genproc.php?action=givep&ses=$ses&who=$wh o\" method=\"post\">";
    echo "Credits to give
    ";

    echo "<input name=\"ptg\" format=\"*N\" maxlength=\"2\"/>";
    echo "
    ";

    echo "<input type=\"submit\" value=\"Give Credits\"/>";
    echo "</form>";
    echo "

    <a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
    echo webfoot();

    }else{
    echo waphead($stitle);
    echo "<onevent type=\"onenterforward\">";
    echo "<refresh>
    <setvar name=\"tfgp\" value=\"0\"/>";
    echo "</refresh></onevent>";
    echo "<p align=\"center\">";
    echo "Give Credits To ".getnick_uid($who)."

    ";
    $gps = mysql_fetch_array(mysql_query("SELECT credits FROM ibwf_users WHERE id=&#39;".getuid_ses($ses)."&#39;"));
    echo "You have $gps[0] Credits&#39;s

    ";
    echo "credits&#39;s to give
    ";
    echo "<input name=\"tfgp\" format=\"*N\" maxlength=\"2\"/>";
    echo "
    <anchor>Give";
    echo "<go href=\"genproc.php?action=givep&ses=$ses&who=$who\ " method=\"post\">";
    echo "<postfield name=\"ptg\" value=\"$(tfgp)\"/>";
    echo "</go></anchor>";
    echo "

    <a href=\"index.php?action=main&ses=$ses\"><img src=\"images/home.gif\" alt=\"*\"/>";
    echo "Home</a>";
    echo "</p>";
    echo wapfoot();

    }[/b]
    5 posts for same thing??
    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


      #3
      <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>
      }else if($action=="givep")

      {

      addonline(getuid_ses($
      ses),"Share your
      Credits","");

      if($mime== WEB)

      {

      echo
      webhead($uthm,$stitle);


      echo "<p
      align=\"center\">";

      echo "Here you can share
      credits with your
      Firends
      [b]Note:</
      b>All Logs are Reporting
      to Staff
      " add a ; to the end
      </div>

      R.M.C
      ----------
      PHP Adovocate B)

      Comment


        #4
        <div class='codetop'>CODE
        <div class='codemain' style='height:200px;white-space:pre;overflow:auto'>
        }else if($action=="givep")

        {

        addonline(getuid_ses($
        ses),"Share your
        Credits","");

        if($mime== WEB)

        {

        echo
        webhead($uthm,$stitle);
        echo "<p
        align=\"center\">";

        echo "Here you can share
        credits with your
        Firends
        Note:</
        b>All Logs are Reporting
        to Staff
        " add a ; to the end
        </div>
        [/quote]

        lol this codings r same. plz any1 can help me
        sigpic

        WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

        Comment


          #5
          Hmmm it said unexpected echo you didn&#39;t end a string with a semi colon before you state the echo see the error in red below <div class='codetop'>CODE</div><div class='codemain' style='height:200px;white-space:pre;overflow:auto'>

          }else if($action=="givep")

          {

          addonline(getuid_ses($
          ses),"Share your
          Credits","");

          if($mime== WEB)

          {

          echo
          webhead($uthm,$stitle);


          echo "<p
          align=\"center\">";

          echo "Here you can share
          credits with your
          Firends
          Note:All Logs are Reporting
          to Staff
          "<-- you should close the string with a ;

          echo "Give Credits To
          ".getnick_uid($who)."


          ";

          $gps =
          mysql_fetch_array(my
          sql_query("SELECT
          credits FROM ibwf_users
          WHERE
          id=&#39;".getuid_ses($ses)."&#39;
          "));

          echo "You have $gps[0]
          Credits

          ";

          echo "<form
          action=\"genproc.ph
          p?action=givep&ses
          =$ses&who=$who\"
          method=\"post\">";

          echo "Credits to
          give
          ";


          echo "<input
          name=\"ptg\"
          format=\"*N\"
          maxlength=\"2\"/>";

          echo "
          ";


          echo "<input
          type=\"submit\"
          value=\"Give
          Credits\"/>";

          echo "</form>";

          echo "

          <a
          href=\"index.php?act
          ion=main&ses=$ses\">
          <img
          src=\"images/home.gif\"
          alt=\"*\"/>";

          echo "Home</a>";

          echo "</p>";

          echo webfoot();


          }else{

          echo waphead($stitle);

          echo "<onevent
          type=\"onenterforwa
          rd\">";

          echo "<refresh>

          <setvar name=\"tfgp\"
          value=\"0\"/>";

          echo
          "</refresh></onevent>";

          echo "<p
          align=\"center\">";

          echo "[b]Give Credits To
          ".getnick_uid($who)."<
          /b>

          ";

          $gps =
          mysql_fetch_array(my
          sql_query("SELECT
          credits FROM ibwf_users
          WHERE
          id=&#39;".getuid_ses($ses)."&#39;
          "));

          echo "You have $gps[0]
          Credits&#39;s

          ";

          echo "credits&#39;s to
          give
          ";

          echo "<input
          name=\"tfgp\"
          format=\"*N\"
          maxlength=\"2\"/>";

          echo
          "
          <anchor>Give";

          echo "<go
          href=\"genproc.php?
          action=givep&ses=$
          ses&who=$who\"
          method=\"post\">";

          echo "<postfield
          name=\"ptg\"
          value=\"$(tfgp)\"/>";

          echo "</go></anchor>";

          echo "

          <a
          href=\"index.php?act
          ion=main&ses=$ses\">
          <img
          src=\"images/home.gif\"
          alt=\"*\"/>";

          echo "Home</a>";

          echo "</p>";

          echo wapfoot();


          }

          </div>

          R.M.C
          ----------
          PHP Adovocate B)

          Comment


            #6
            Hmmm it said unexpected echo you didn&#39;t end a string with a semi colon before you state the echo see the error in red below <div class='codetop'>CODE
            <div class='codemain' style='height:200px;white-space:pre;overflow:auto'>

            }else if($action=="givep")

            {

            addonline(getuid_ses($
            ses),"Share your
            Credits","");

            if($mime== WEB)

            {

            echo
            webhead($uthm,$stitle);
            echo "<p
            align=\"center\">";

            echo "Here you can share
            credits with your
            Firends
            Note:All Logs are Reporting
            to Staff
            "<-- you should close the string with a ;

            echo "Give Credits To
            ".getnick_uid($who)."


            ";

            $gps =
            mysql_fetch_array(my
            sql_query("SELECT
            credits FROM ibwf_users
            WHERE
            id=&#39;".getuid_ses($ses)."&#39;
            "));

            echo "You have $gps[0]
            Credits

            ";

            echo "<form
            action=\"genproc.ph
            p?action=givep&ses
            =$ses&who=$who\"
            method=\"post\">";

            echo "Credits to
            give
            ";
            echo "<input
            name=\"ptg\"
            format=\"*N\"
            maxlength=\"2\"/>";

            echo "
            ";
            echo "<input
            type=\"submit\"
            value=\"Give
            Credits\"/>";

            echo "</form>";

            echo "

            <a
            href=\"index.php?act
            ion=main&ses=$ses\">
            <img
            src=\"images/home.gif\"
            alt=\"*\"/>";

            echo "Home</a>";

            echo "</p>";

            echo webfoot();
            }else{

            echo waphead($stitle);

            echo "<onevent
            type=\"onenterforwa
            rd\">";

            echo "<refresh>

            <setvar name=\"tfgp\"
            value=\"0\"/>";

            echo
            "</refresh></onevent>";

            echo "<p
            align=\"center\">";

            echo "Give Credits To
            ".getnick_uid($who)."<
            /b>

            ";

            $gps =
            mysql_fetch_array(my
            sql_query("SELECT
            credits FROM ibwf_users
            WHERE
            id=&#39;".getuid_ses($ses)."&#39;
            "));

            echo "You have $gps[0]
            Credits&#39;s

            ";

            echo "credits&#39;s to
            give
            ";

            echo "<input
            name=\"tfgp\"
            format=\"*N\"
            maxlength=\"2\"/>";

            echo
            "
            <anchor>Give";

            echo "<go
            href=\"genproc.php?
            action=givep&ses=$
            ses&who=$who\"
            method=\"post\">";

            echo "<postfield
            name=\"ptg\"
            value=\"$(tfgp)\"/>";

            echo "</go></anchor>";

            echo "

            <a
            href=\"index.php?act
            ion=main&ses=$ses\">
            <img
            src=\"images/home.gif\"
            alt=\"*\"/>";

            echo "Home</a>";

            echo "</p>";

            echo wapfoot();
            }

            </div>
            [/quote]

            wat do u mean.can u paste the whole index.php codings 4 it
            sigpic

            WANT GOOD CHEAP HOSTING WITH 99% UPTIME? THEN PM ME FOR DETAILS!!

            Comment


              #7
              change ur hosting haha..............

              Comment

              Working...
              X