Subject RE: [firebird-php] SQL script
Author Dorin Pacurar
Sorry ! Just a typo.
Correct:
$result=ibase_query($conn, addslashes($_POST["Textarea_content"]));

-------Original Message-------

From: firebird-php@yahoogroups.com
Date: Thursday, November 20, 2003 13:48:54 PM
To: firebird-php@yahoogroups.com
Subject: RE: [firebird-php] SQL script

In a form, in a TEXTAREA I wrote
SELECT CLIENT FROM PERSOANE WHERE NUME STARTING WITH 'O''TOOL'

The line in my script is:
$result=ibase_query($conn, addslashes($_POST"Textarea_content"]));

The result :
Warning: ibase_query(): Dynamic SQL Error SQL error code = -104 Token
unknown - line 1, char 58 O in c:\apache\htdocs\action.php on line 14

I see a missing [
$result=ibase_query($conn, addslashes($_POST"Textarea_content"]));

Alan

[Non-text portions of this message have been removed]


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/PhFolB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
firebird-php-unsubscribe@yahoogroups.com



Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/


.

[Non-text portions of this message have been removed]