Results 1 to 5 of 5

Thread: sqlite

  1. #1

    Default sqlite


    pwede ba maka-insert og image sa sqlite nga database using javascript? nagamit nako sa google pero so far la pay swerte.

    thnx.

  2. #2

  3. #3
    atong e breakdown imong questions ha, para ma tarung og answer sa mga taw:

    1. pwede ba maka store og image sa sqlite database?
    -Yes, sqlite supports BLOB data type

    2. pwede ba maka connect ang javascript sa sqlite database?
    - Yes and No
    - No, wala pako kita og client side javascript library nga intended para ana, client side javascript library only runs on the browser.
    - Yes, in server side javascript (Node.js baby), there is an existing node.js library for sqlite, but i doubt Node.js imong app nga gihimo

    My guess is you're creating a web application in which the backend is an sqlite database and you wan't to store a database record using javascript. It can be done using ajax, but take note file upload is not supported in ajax.

    You can use this jquery plugin jQuery Form Plugin to solve the file upload issue with ajax.

  4. #4
    Thanks sa replies.

    Bale kuan diay ako gihimo sir android app using phonegap, html og javascript. Ako plan kay offline lang siya nga app nga makaretrieve og images gikan sa pre-populated nga database.

    Now, ako problem is ang pag-insert sa image. Pwede ra ni siya i query diretso or kanang i convert pa ni siya? Naa koy nakit.an pero php siya naglibog ko kung unsaon pag translate sa php into javascript.

  5. #5
    Thanks sa mga nag reply.

    Hehehe na solve na nako. Ang path sa image ang akong gi save.

  6.    Advertisement

Similar Threads

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top