Guestbook Not Functioning

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

    Guestbook Not Functioning

    i use fun mobile script n my guestbook not funtioning..help me to fix it..here is the script...thanks all..


    else if($action=="signgb")
    {
    $who=$_GET["who"];
    addonline(getuid_sid($sid),"Signing Users guestbook","");
    if(!cansigngb(getuid_sid($sid), $who))
    {

    echo "<p align=\"center\">";
    echo "You cant Sign this user guestbook

    ";
    echo "<a href=\"index.php?action=main&sid=$sid\">Home</a>";
    echo "</p>";
    exit();
    }


    echo "<p align=\"center\">";
    echo "<form action=\"genproc.php?action=signgb&sid=$sid\" method=\"post\">";
    echo "Text:<input name=\"msgtxt\" maxlength=\"500\"/>
    ";
    echo "<input type=\"submit\" value=\"GO\"/>";
    echo "</form>";

    echo "

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

    }


    else if($action=="online")
    {

    addonline(getuid_sid($sid),"Online List","");

    #2
    i use fun mobile script n my guestbook not funtioning..help me to fix it..here is the script...thanks all..
    else if($action=="signgb")
    {
    $who=$_GET["who"];
    addonline(getuid_sid($sid),"Signing Users guestbook","");
    if(!cansigngb(getuid_sid($sid), $who))
    {

    echo "<p align=\"center\">";
    echo "You cant Sign this user guestbook

    ";
    echo "<a href=\"index.php?action=main&sid=$sid\">Home</a>";
    echo "</p>";
    exit();
    }


    echo "<p align=\"center\">";
    echo "<form action=\"genproc.php?action=signgb&sid=$sid\" method=\"post\">";
    echo "Text:<input name=\"msgtxt\" maxlength=\"500\"/>
    ";
    echo "<input type=\"submit\" value=\"GO\"/>";
    echo "</form>";

    echo "

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

    }
    else if($action=="online")
    {

    addonline(getuid_sid($sid),"Online List","");[/b]
    What error are your getting?

    Comment


      #3
      i can sign the guestbook but after sign the word didnt appears in the guestbook.

      Comment


        #4
        think u should add this
        Code:
        echo "<input type=\"hidden\" name=\"who\" value=\"$who\"/>";
        u need to show d processing part to that in genproc.php

        Comment


          #5
          that meant that it doesn&#39;t insert the text in the datebase to the username..

          Use the code wizard gave you!

          Comment

          Working...
          X