I want to get a text from a PHP file through java j2me , the text is the maximum value of the primary key of a MySQL table. So I use HttpConnection to make a connection to the web page. But I do not know where should I put ( echo in PHP ) the text : is it inside the <header> or inside the <body> or somewhere else inside the PHP file ?
I want to get a text from a PHP file through java j2me ,
Share
If I understand you usage correctly (which means you call the script from the Cleint just to get the value) you do not output ANY tags/text other than your value:
yourFile.php