• Post Reply Bookmark Topic Watch Topic
  • New Topic

code error  RSS feed

 
John Valiant
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Why am i getting error inthe below code?

 
Paul Clapham
Sheriff
Posts: 22841
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because you did something wrong.

The first step is to read the error message, which is supposed to contain useful information about the problem. So why don't you go back and do that? If you want to ask us about it, of course that's fine too, but you do have to explain your problem. Read our FAQ entry TellTheDetails (yes, that's a link, click on it) if you don't see why that is necessary.
 
Campbell Ritchie
Marshal
Posts: 56593
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Also don’t confuse yourself by putting extra tags inside the code tags. You need to get your indentation sorted out too; you can hide all sorts of errors from yourself with incorrect indentation.
And look very closely at this method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!