Notice: Undefinedvariable: rsinhomesujataPublicguestbook4edit. phponline44 (48, 52, 56) Row 44: & quot; where is the problem? Edit. php: & quot;]; $ querymysql_query ($ SQL); $ rsmysql_fetch guestbookphp
Notice: Undefined variable: rs in/home/sujata/Public/guestbook4/edit. php on line 44 (48, 52, 56)
Row 44:
Where is the problem?
Edit. php:
Edit
Admin. php:
Administrator background
Administrator background
Index. php:
Include "conn. php"; // connect to the database file if (! Empty ($ _ POST ['sub']) {$ username = $ _ POST ['username']; $ email = $ _ POST ['email ']; $ content = $ _ POST ['content']; $ refer_url = $ _ POST ['refer _ url']; $ SQL = "insert into 'user' ('id ', 'username', 'dates', 'Email ', 'content', 'refer _ url') VALUES (null,' $ username', now (), '$ email ', '$ content',' $ refer_url ') "; $ query = mysql_query ($ SQL); if ($ query) {echo (" You have received your message, we will speed up the improvement. Thank you for your suggestion!
"); Echo (" 5 seconds later, it will automatically jump to the home page. if not, you can directly click this connection "); header (" refresh: 5; url = 'index. php '");} else {echo" Sorry, busy .... can I try again?> _ <". Mysql_error (); header (" refresh: 5; url = 'index. php' ") ;}}?>
Feedback