Guestbook Not Functioning

Started on the old forum in October 2007 · view the original in the archive · old links redirect here

4 replies · 1,962 views · started 19 years ago · 1 min read

2 participants
alexism Developer · 136 posts #1

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 "

"; echo "You cant Sign this user guestbook

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

echo "

"; 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 " ";

}

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

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

Guest #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 "

"; echo "You cant Sign this user guestbook

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

echo "

"; 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 " ";

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

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

What error are your getting?

alexism Developer · 136 posts #3

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

wizard Senior · 493 posts #4

think u should add this

echo "<input type=\"hidden\" name=\"who\" value=\"$who\"/>";

u need to show d processing part to that in genproc.php

Guest #5

that meant that it doesn't insert the text in the datebase to the username..

Use the code wizard gave you!

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