Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #24259

Re: Can javascript work with mysqli?

From Richard Damon <Richard@Damon-Family.org>
Newsgroups comp.lang.javascript
Subject Re: Can javascript work with mysqli?
References <1epsqcvd9i0k0$.18wvjlyevd689.dlg@40tude.net> <537649ef$0$6709$9b4e6d93@newsspool2.arcor-online.net> <JavaScript-20140516205850@ram.dialup.fu-berlin.de> <1qzdbjbtaro5i$.18skp1f6r8e12.dlg@40tude.net>
Message-ID <kHbev.1008234$ka5.212265@fx06.iad> (permalink)
Organization Forte - www.forteinc.com
Date 2014-05-18 19:50 -0400

Show all headers | View raw


On 5/16/14, 3:29 PM, richard wrote:
> On 16 May 2014 18:59:30 GMT, Stefan Ram wrote:
> 
>> Christoph Michael Becker <cmbecker69@arcor.de> writes:
>>> there is no javascript
>>
>>   »JavaScript« is a trademark of Oracle and the name of the
>>   language that is interpreted by Java SE 8 by Oracle,
>>   it is also the name of the language that is interpreted by
>>   Firefox, where it is used with permission from Oracle.
>>
>>   There is no mysqli AFAIK.
> 
> Then you should keep up with the times.
> As of php 5.5 you are practtically forced to use mysqli.
> That's been around at least a year if not more.
> 
> http://www.php.net/manual/en/book.mysqli.php
> 

And perhaps you should read what it is exactly. mysqli is a *PHP*
interface to MySQL databases (versions 4.1 and later). By definition,
"javascript" can't talk to it (at least not directly) because
"javascript" is not PHP, and can't easily call any PHP functions.

A "javascript" program can communicate with a PHP program over an HTTP
link, but it shouldn't be communicating "mysqli" there, as that would
mean the PHP program was just "eval()"ing the data, which is "BAD".

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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