Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #17528
| Path | csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail |
|---|---|
| From | "J.O. Aho" <user@example.net> |
| Newsgroups | comp.lang.php |
| Subject | Re: Where did the parens come from |
| Date | Mon, 10 Jul 2017 21:17:48 +0200 |
| Lines | 14 |
| Message-ID | <esi26tFeq43U1@mid.individual.net> (permalink) |
| References | <ok0gfs$1pkp$1@gioia.aioe.org> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | individual.net CY7bPJobq7O4x617c4GC/ggrpUlOeaIN3xbFuo7U7UBO23Pzt2 |
| Cancel-Lock | sha1:fObDNvGO1pap+xQ1j8030KQlLAA= |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 |
| In-Reply-To | <ok0gfs$1pkp$1@gioia.aioe.org> |
| Content-Language | en-GB |
| Xref | csiph.com comp.lang.php:17528 |
Show key headers only | View raw
On 07/10/17 20:19, bill wrote:
> '$connection->real_escape_string({$postData['hName']})'
> '(my name)'
> The sql produced has parens around all the values to be saved (and it
> shouldn't) and I can't figure out where they come form.
I would guess it's your { and } which generates the parentheses, try with
"$connection->real_escape_string($postData['hName'])"
--
//Aho
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Where did the parens come from bill <william@TechServSys.com> - 2017-07-10 14:19 -0400
Re: Where did the parens come from "J.O. Aho" <user@example.net> - 2017-07-10 21:17 +0200
Re: Where did the parens come from bill <william@TechServSys.com> - 2017-07-11 07:31 -0400
Re: Where did the parens come from "J.O. Aho" <user@example.net> - 2017-07-11 18:05 +0200
Re: Where did the parens come from Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-10 18:53 -0400
Re: Where did the parens come from bill <william@TechServSys.com> - 2017-07-11 07:29 -0400
Re: Where did the parens come from bill <william@TechServSys.com> - 2017-07-11 07:33 -0400
Re: Where did the parens come from Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-11 09:12 -0400
Re: Where did the parens come from bill <william@TechServSys.com> - 2017-07-11 10:26 -0400
Re: Where did the parens come from "Peter H. Coffin" <hellsop@ninehells.com> - 2017-07-11 12:55 -0500
Re: Where did the parens come from "Peter H. Coffin" <hellsop@ninehells.com> - 2017-07-11 13:52 -0500
Re: Where did the parens come from Jerry Stuckle <jstucklex@attglobal.net> - 2017-07-11 14:57 -0400
Re: Where did the parens come from bill <william@TechServSys.com> - 2017-07-12 08:03 -0400
Re: Where did the parens come from "Peter H. Coffin" <hellsop@ninehells.com> - 2017-07-12 13:51 -0500
Re: Where did the parens come from bill <william@TechServSys.com> - 2017-07-13 07:37 -0400
Re: Where did the parens come from "R.Wieser" <address@not.available> - 2017-07-11 08:40 +0200
csiph-web