Hi Aycko,

>  Is gives any solution to use field names like this with Zend_DB?

This general problem is recognized, and a solution has been proposed:
http://framework.zend.com/wiki/x/RB8

See the section titled "Mapping Identifiers between DB and PHP".

Cheers,
Gavin

Aycko Maerzke wrote:
Hello together,

i use the Zend_Db class for my sql. queries I have to use field names like
':tablename:filedname'. This execute an exception, because a bind parameter
is required.

I tried an query like this:

$db->query("SELECT `:tablename:filedname` FROM `table`");

Is gives any solution to use field names like this with Zend_DB?



Best regards ...

Reply via email to