Reply to Re: Apostrophe - when used it mucks with my odbc

Your name:

Reply:


Posted by Johnny BeGood on 05/13/07 11:56

Hi Micha,

Thanks for the reply, can you give me some guidance on

> 2) use prepared statements
>
> The second is the preferred, but whether it's available or not depends
> on the used DB backend and the interface.

I have used

$stmt = odbc_prepare($odbc, "INSERT INTO Tasks (TaskType, Details)
VALUES('$tasktype','$taskdetails');" );

if (!odbc_execute( $stmt))
{
echo odbc_errormsg();
}
odbc_close();

But still come up with the same error, I am using an Access 2002 backend
database, only because I'm forced to.

Cheers

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация