Skip to main content

fetching data using PHP

Please note these java.net forums are being decommissioned and use the new and improved forums at https://community.oracle.com/community/java.
2 replies [Last post]
amuche
Offline
Joined: 2011-09-05

Please wanted to critically find out how I coould fetch data using PHHP as ma backend..hav not a single idea..

please I need an answer to this question..DO NOT WANT this to JUST be viewed and NOT be answered...

I use LWUIT 1.5 but need to fetch from a backend and need a reliable backend llike PHP or any other but dnt no how to go abbout it..

ANY HELP WOULD BE APPRECIATED BY YOU VPRISE OR ANY OTHER!!! ITS KIND URGENT!!1

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
gt8887b
Offline
Joined: 2010-03-15

Your question is very open-ended. Is there something specific that you are trying to do with LWUIT that you are having trouble with?

You fetch your data by making an HTTP request. You can check the classes in com.sun.lwuit.io package to see if anything there will be suitable for the type of data you want to 'fetch'. You can also use HttpConnection (assuming you are using JavaME) or even raw sockets directly.

As far as the backend goes, this has nothing to do with LWUIT and you may want to check specific resources such as php.net etc.

amuche
Offline
Joined: 2011-09-05

please wanted to clarify ma question..al i want to do is say for example if i have a form with textboxes that requir user to enter data and store the data in a database that can be queried..so say a user enters text in a textbox and clicks on submit, how do i handle such database? and how can i query dat database into a control like feeding a textbox or label information from a database for user to view? all i want is linking my UI's to a reliable backend..Just how do I go about this??? NEED REPLY ASAP..AGAIN: DO NOT JUST VIEW AND NOT REPLY PLEASE..ITS PRETY URGENT!!! THANKS.... UCHE