You are here: Re: Pear::DB and WHERE clause param in PS « PHP SQL « IT news, forums, messages
Re: Pear::DB and WHERE clause param in PS

Posted by invinfo on 10/14/55 11:28

My mistake, you can certainly do this, (with Pear::DB) using a
combination of
stmt = Obj->prepare( ps )
rslt = Obj->execute( stmt, param_array)

where Obj is Object of type DB_Common or subclass ( psuedo code of
course )

I did note, (with Pear::DB) that you can actually get the "mysqli"
object, this way:
$objDB_common = DB::connect($dsn);
$obj = $objDB_common->connection;

I'm curious why the "$features" array in DB_mysqli has this setting
'prepare' => false,

It seems odd, but I've fixed my main problem.

 

Navigation:

[Reply to this 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

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