How to connect to a Pervasive Database using javascript?

How can i delete rows from database using javascript? is there any way other than writing php code? ?

  • how can i delete rows from database using javascript? is there any way other than writing php code?

  • Answer:

    You cannot write it in Javascript, Javascript is Client Side (Runs in the users browser), PHP is server side (Runs on the server), Only ServerSide scripts can modify the databases. Also please remember, Javascript can be viewed in the HTML View source, so it would be a security hazard, a visitor can get the database username and password way too easilly

K-Disk.c... at Yahoo! Answers Visit the source

Was this solution helpful to you?

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.