I'm facing a problem which is so much confusing me.
The thing is that after the user selects the course number, that number is needed to be taken to the database for validation and the result is to be returned back to java. I tested the php scripts that runs the query & it does work fine. But the result that is returned back to java always states that
"java.io.IOException: response empty" pointing to:
is = connection.openDataInputStream(); in my code.

The confusing thing is that once i let the script reads from the course type[/B] not number then everything is fine. The two scripts are the same except the query and the connection code is exactly the same.

So please help me in this confusing problem?????