Related Topic
Welcome Snack
Some feedback

Guest Book
 

Thank you for spend your time enjoy cooking with us.
Please sign any comment on Tripadvisor :)

= 5) $SQL = "SELECT no, name, email, detail, stamp, country, city, sendto, visible FROM guestbook ORDER BY stamp DESC"; else $SQL = "SELECT no, name, email, detail, stamp, country, city, sendto, visible FROM guestbook WHERE visible=1 ORDER BY stamp DESC"; $table = mysql_query($SQL,$Conn) or die ("Unable to read table GuestBook"); while($row = mysql_fetch_array($table)) { $r_no = $row["no"]; $r_name = $row["name"]; $r_email = $row["email"]; $r_country = $row["country"]; $r_city = $row["city"]; $r_sendto = $row["sendto"]; $r_visible = $row["visible"]; $r_detail = htmlspecialchars($row["detail"]); // use the wordwrap to prevent text over table $r_detail = wordwrap( $r_detail, 80 ); $r_detail = ereg_replace(" " ," " , $r_detail); $r_detail = ereg_replace(chr(13) ,"
" , $r_detail); ?>
""
From: Country: State/City: = 5) { if($r_visible == 0) { print "*HIDDEN*"; print "delete?"; } else print "delete?"; } ?>

= 5) { print ""; } ?>