MySQL Forums
Forum List  »  PHP

Database Error
Posted by: Ivan Small
Date: March 20, 2012 04:21PM

I have been reading this tutorial http://dev.mysql.com/tech-resources/articles/ddws/ and have been pasting the examples into Dreamweaver to learn how everything works. When I pasted in this example http://dev.mysql.com/tech-resources/articles/ddws/24.html I keep on getting this error. Notice: Undefined variable: submitjoke in C:\xampp\htdocs\welcome\jokesinsert.php on line 37 & Notice: Undefined variable: PHP_SELF in C:\xampp\htdocs\welcome\jokesinsert.php on line 68

I’m able to retrieve the jokes from the database (Why did the chicken cross the road? To get to the other side! & Why did the chicken cross the road 2? To get to the other side!) But I can’t add jokes to the database using 'Add a Joke!' link. I have included screenshot of the error http://www.iforce.co.nz/View.aspx?i=qwjku0wt.y4a.jpg

I would appreciate anyone assistance in figuring out what I am doing wrong.

Options: ReplyQuote


Subject
Written By
Posted
Database Error
March 20, 2012 04:21PM
March 20, 2012 04:53PM
March 20, 2012 07:07PM
March 20, 2012 08:53PM
March 21, 2012 03:05AM
March 21, 2012 03:08PM
March 22, 2012 02:30PM
March 22, 2012 04:46PM
March 22, 2012 11:00AM
March 22, 2012 02:32PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.