Been there; done that. About a million times. Maybe more.
Here's a thought:
Maybe it's time to think about using meaningful names for variables.
For example:
...
Type: Posts; User: Zaphod_b
Been there; done that. About a million times. Maybe more.
Here's a thought:
Maybe it's time to think about using meaningful names for variables.
For example:
...
The first thing that I suggested was to look, really look, at the code.
What is the line where you get a user input String from the input dialog box? Go find a pencil and paper and write it...
Well, look (really: look) at the place(s) where it gets values that seem not to be used correctly. If you still don't see a problem, make the program show you what it is using at each place things...