Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #24201
| From | Denis McMahon <denismfmcmahon@gmail.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Can javascript work with mysqli? |
| Date | 2014-05-17 02:27 +0000 |
| Organization | A noiseless patient Spider |
| Message-ID | <ll6hec$u5v$2@dont-email.me> (permalink) |
| References | <1epsqcvd9i0k0$.18wvjlyevd689.dlg@40tude.net> |
On Fri, 16 May 2014 10:40:58 -0400, richard wrote: "mysqli" in the sense of your question is presumably the class implemented in php to allow php to interface with mysql databases and is thus "server side functionality" in the client - server model of www transactions. It is further presumed that your reference to mysqli in fact means php code incorporating the mysqli class running on a web server and responding to requests from a web browser. "javascript" in the sense of your question is presumably the scripting language implemented in modern web browsers and is thus "client side functionality" in the client - server model of www transactions. It is further presumed that your reference to javascript in fact means javascript code running inside the web browser referenced above and making requests to and receiving responses from the web server referenced above. "work with" in the sense of your question is presumed to indicate the ability for javascript (as defined above) to access or change data within a mysql database using php scripts running on a web server using mysqli (as defined above). I believe it has been explained to you in the past that for client side functionality to communicate with server side functionality, the client side functionality has to make some sort of request to the server and handle the server response to that request. Such requests when implemented between web browsers and web servers are commonly referred to as AJAX requests. Commonly the mechanism by which what I believe you seek to achieve would be accomplished is that the javascript code in the web browser needs to make an AJAX request to the web server which results in a mysqli database transaction being triggered at the web server. -- Denis McMahon, denismfmcmahon@gmail.com
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Can javascript work with mysqli? richard <noreply@example.com> - 2014-05-16 10:40 -0400
Re: Can javascript work with mysqli? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 19:25 +0200
Re: Can javascript work with mysqli? richard <noreply@example.com> - 2014-05-16 15:29 -0400
Re: Can javascript work with mysqli? Tim Streater <timstreater@greenbee.net> - 2014-05-16 23:06 +0100
Re: Can javascript work with mysqli? Richard Damon <Richard@Damon-Family.org> - 2014-05-18 19:50 -0400
Re: Can javascript work with mysqli? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-16 21:56 +0200
Re: Can javascript work with mysqli? Tim Streater <timstreater@greenbee.net> - 2014-05-16 23:08 +0100
"javascript" (again) (was: Can javascript work with mysqli?) Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-17 00:31 +0200
Re: "javascript" (again) Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2014-05-17 10:36 +0200
Re: "javascript" (again) richard <noreply@example.com> - 2014-05-17 14:02 -0400
Re: "javascript" (again) Tim Streater <timstreater@greenbee.net> - 2014-05-17 19:14 +0100
Re: Can javascript work with mysqli? John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-17 16:05 +0100
Re: Can javascript work with mysqli? Christoph Michael Becker <cmbecker69@arcor.de> - 2014-05-17 18:19 +0200
Re: Can javascript work with mysqli? John Harris <niam@jghnorth.org.uk.invalid> - 2014-05-18 16:19 +0100
Re: Can javascript work with mysqli? Good Guy <hello.world@example.com> - 2014-05-16 20:27 +0100
Re: Can javascript work with mysqli? Denis McMahon <denismfmcmahon@gmail.com> - 2014-05-17 02:27 +0000
csiph-web