Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #15163
| From | Thomas 'PointedEars' Lahn <PointedEars@web.de> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Why do I get error when same code works elsewhere? |
| Date | 2015-03-31 22:38 +0200 |
| Organization | PointedEars Software (PES) |
| Message-ID | <2662856.hcR7piWQrz@PointedEars.de> (permalink) |
| References | <18bbb34ftm658$.1tgigatbgo67j$.dlg@40tude.net> <mfe2t4$md2$1@speranza.aioe.org> |
bill wrote: > Let me (uncharacteristically) defend richard this time. > He is being polite He is not blatantly impolite (yet), which is different from being polite. Politeness would include a demonstratation of the appreciation of other’s time, which did not happen again. See also <http://www.catb.org/~esr/faqs/smart-questions.html>. > Richard, > before one can invoke a method of an object, one must create the > object So far, so good. > (usually using the "new" constructor or an explicit constructor) “new” is not a constructor, it is a keyword of an operation. What do you think is an “explicit constructor” and how would it differ from your “‘new’ constructor”? > Now, your task is to read the introductory chapters about PDO > http://us1.php.net/manual/en/class.pdo.php Although it is a good idea to use pdo_mysql instead of mysqli or (do not even think about it) mysql (PDO has a common OO-API for all DBMSs), there is no reason why he should do that in order to solve *his* problem. -- PointedEars Zend Certified PHP Engineer Twitter: @PointedEars2 Please do not cc me. / Bitte keine Kopien per E-Mail.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Why do I get error when same code works elsewhere? richard <noreply@example.com> - 2015-03-29 21:47 -0400
Re: Why do I get error when same code works elsewhere? Doug Miller <doug_at_milmac_dot_com@example.com> - 2015-03-30 02:14 +0000
Re: Why do I get error when same code works elsewhere? Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-30 03:21 +0000
Re: Why do I get error when same code works elsewhere? Richard Yates <richard@yatesguitar.com> - 2015-03-29 20:35 -0700
Re: Why do I get error when same code works elsewhere? richard <noreply@example.com> - 2015-03-29 23:53 -0400
Re: Why do I get error when same code works elsewhere? Richard Yates <richard@yatesguitar.com> - 2015-03-29 21:12 -0700
Re: Why do I get error when same code works elsewhere? richard <noreply@example.com> - 2015-03-31 12:01 -0400
Re: Why do I get error when same code works elsewhere? Jerry Stuckle <jstucklex@attglobal.net> - 2015-03-30 08:21 -0400
Re: Why do I get error when same code works elsewhere? "Beauregard T. Shagnasty" <a.nony.mous@example.invalid> - 2015-03-30 13:17 +0000
Re: Why do I get error when same code works elsewhere? Denis McMahon <denismfmcmahon@gmail.com> - 2015-03-30 17:06 +0000
Re: Why do I get error when same code works elsewhere? richard <noreply@example.com> - 2015-03-31 12:02 -0400
Re: Why do I get error when same code works elsewhere? bill <william@TechServSys.com> - 2015-03-31 08:11 -0400
Re: Why do I get error when same code works elsewhere? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-31 14:24 +0200
Re: Why do I get error when same code works elsewhere? bill <william@TechServSys.com> - 2015-04-01 08:27 -0400
Re: Why do I get error when same code works elsewhere? ꧁꧂ <vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvva@hotmail.com> - 2023-05-14 08:53 -0700
Re: Why do I get error when same code works elsewhere? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-31 22:38 +0200
Re: Why do I get error when same code works elsewhere? "Christoph M. Becker" <cmbecker69@arcor.de> - 2015-03-31 22:55 +0200
Re: Why do I get error when same code works elsewhere? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2015-03-31 23:23 +0200
csiph-web