Go Back   TechArena Community > Hardware > Portable Devices
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



WebOS Tutorial using MySQL Database

Portable Devices


Reply
 
Thread Tools Search this Thread
  #1  
Old 20-08-2011
Member
 
Join Date: Aug 2004
Posts: 39
WebOS Tutorial using MySQL Database
  

I want a tutorial explaining me connection between WebOS and MySQL using PHP Script. Can anyone explain to me or make me understand it? I would be really happy. I saw a tutorial at webos101 of Getting JSON From An External MySQL Database. It connect to a PHP page to retrieve data from an external MySQL datbase and return the results in JSON format.

Reply With Quote
  #2  
Old 20-08-2011
Member
 
Join Date: Mar 2010
Posts: 2,578
Re: WebOS Tutorial using MySQL Database

You can write PHP script to use your database you have created and then use AJAX to call the PHP script and return the information to the WebOS. Can you tell me which part are is troubling you in that tutorial? Is the PHP script not giving you correct response to your calls? Or the Mojo code that deals with sqlite? The Mojo code at webos101 for this tutorial makes only log entries in /var/log/messages. There are no UI elements present there which get your call. You will have to modify that code by adding your own application into it. What log entry do you see when you open the log?
Reply With Quote
  #3  
Old 20-08-2011
Member
 
Join Date: Aug 2004
Posts: 39
Re: WebOS Tutorial using MySQL Database

When I open the log I get “got ajax response” but do not see anything from the database. So, I think I will need to modify the code of Mojo and some items to it before that. I also tried disconnecting my Wamp server too, but get the same message though. In the Wamp server I have kept my password as blank to make it easier and gave the path as localhost/myscript.php. Hope this is the right way to do it or is there some other way? I am gonna try the mojo application first. Thankyou for your response.
Reply With Quote
Reply

  TechArena Community > Hardware > Portable Devices
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "WebOS Tutorial using MySQL Database"
Thread Thread Starter Forum Replies Last Post
Connecting C# with MySQL database Quattro Software Development 5 05-03-2010 10:13 PM
mysqldump in MySQL database Caden Fernandes Software Development 4 04-03-2010 11:02 PM
How to speed up the MySQL database Kalanidhi Software Development 5 27-02-2010 01:33 AM
Mysql Error : Can't connect to local mysql server through socket ' var lib mysql mysql.sock' 2 roshan45 Software Development 3 07-11-2009 09:36 PM
How to Connect MySQL database from PHP Booth Software Development 3 21-01-2009 09:12 PM


All times are GMT +5.5. The time now is 02:45 PM.