Re: Bug #2456: invalid character
| From: | Thies C. Arntzen | Date: | Thu, 07 Oct 1999 06:24:26 +0000 |
| Subject: | Re: Bug #2456: invalid character | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-11597@lists.php.net to get a copy of this message | ||
On 6 Oct 1999 herbert@widesoft.com.br wrote:
> From: herbert@widesoft.com.br
> Operating system: Solaris
> PHP version: 3.0.12
> PHP Bug Type: Oracle related
> Bug description: invalid character
>
> the script is
>
> $ps = 'insert into tideia ';
> $ps .= '(snome, semail, sassunto, mmideia, sip) values ';
> $ps .= "('$nome', '$email', '$assunto', '$ideia',
> '$ip');";
> $c = ocilogon("login", "password", "ORACLEID");
> $s = ociparse($c, $ps);
> ociexecute($s, OCI_DEFAULT);
> ocilogoff($c);
no ';' at the end of a query please (that's *ONLY* in sqlplus)
tc
>
>
> the result is
>
>
> Warning: OCIStmtExecute: ORA-00911: invalid character in
> /usr/local/system/wideadm/www/eparpite/adicdb.php3 on line 31
> OCIDebug: _oci8_free_stmt: id=2 last_query="insert into tideia (snome, semail, sassunto,
> mmideia, sip) values ('Herbert G. Fischer', 'herbert@widesoft.com.br',
> 'Site de Downloads', 'hello world', '127.0.0.1');"
>
>
> I've tryed anything but it always give me this error.
>
>
> --
> PHP Development Mailing List <http://www.php.net/>
> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net
> For additional commands, e-mail: php-dev-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany