Is there any other way I could access the database using javascript? I have progress bars and I need to check whether the value of a field in my database is true to keep them moving. I've already google-d about it and I found out that it's not possible. If I use cookies, then I have to redefine the cookie everytime I change the computer where I log in. Thank you very much! :)
-
possible duplicate of get data from mysql database to use in javascriptMat– Mat2011年09月18日 10:52:08 +00:00Commented Sep 18, 2011 at 10:52
-
i saw that post, i thought it was different, thank you.jayp– jayp2011年09月18日 10:56:39 +00:00Commented Sep 18, 2011 at 10:56
1 Answer 1
You can use ajax to call a php (or asp or coldfusion) script which will return the value of the database field
answered Sep 18, 2011 at 10:48
pho
25.7k8 gold badges48 silver badges75 bronze badges
Sign up to request clarification or add additional context in comments.
Comments
default