[fw-general] Zend_Db data array and quoting question

2010-10-28 Thread debussy007
Hi, I want to increment a field nb_login whenever a member connects. These are the parameters that I give to update() method. $where = array('id = ?' = $id); $data = array( 'date_connection' = date('Y-m-d H:i:s'), 'nb_login' = 'nb_login+1' ); The query is generated is : UPDATE

[fw-general] Re: Zend_Db data array and quoting question

2010-10-28 Thread debussy007
Works great! Thanks! :) -- View this message in context: http://zend-framework-community.634137.n4.nabble.com/Zend-Db-data-array-and-quoting-question-tp3016954p3016964.html Sent from the Zend Framework mailing list archive at Nabble.com.

RE: [fw-general] Zend_Db data array and quoting question

2010-10-28 Thread astepin
try this: $where = array('id = ?' = $id);  $data = array(  'date_connection' = date('Y-m-d H:i:s'),  'nb_login' = new Zend_Db_Expr('nb_login+1')  ); -Ursprüngliche Nachricht- Von: debussy007 Gesendet: Do. 28.10.10 (12:22) An: fw-general@lists.zend.com Betreff: [fw-general]

[fw-general] Re: Zend_Db data array and quoting question

2010-10-28 Thread ramonornela
Use Zend_Db_Expr new Zend_Db_Expr('nb_login+1') Greetings Ramon On Thu, Oct 28, 2010 at 8:22 AM, debussy007 [via Zend Framework Community] ml-node+3016954-326652987-72...@n4.nabble.comml-node%2b3016954-326652987-72...@n4.nabble.com wrote: Hi, I want to increment a field nb_login whenever

RE: [fw-general] Multi Php Versions

2010-10-28 Thread Thomas D.
Hi, I created a video, which will show you how to configure Apache2 on Windows with FastCGI for multiple PHP versions. It will also show you some tricks for the Windows platform. Video: http://rapidshare.com/files/427630104/HowTo_Configure_Apache2_With_FCGI_for_ PHP_on_Windows.mp4 Resources

Re: [fw-general] Multi Php Versions

2010-10-28 Thread Paul
Amazing! I will check these out tonight when I get a second. I appreciate it so much. On 10/28/2010 12:04 PM, Thomas D. wrote: Hi, I created a video, which will show you how to configure Apache2 on Windows with FastCGI for multiple PHP versions. It will also show you some tricks for the

[fw-general] Zend_Cache and IO synchronisation

2010-10-28 Thread debussy007
Hi, I was wondering what is happening when a request is cleaning some specific cache files and another request is trying to read those same cache files at the same time. How is IO access synchronisation handled here ? Thank you for any clarification -- View this message in context:

[fw-general] Multiple Result Sets

2010-10-28 Thread Shane McGovern
Is there an example of handling multiple result sets from a single stored procedure call (using MSQL; if that matters) in Zend, if at all possible? Shane

[fw-general] Zend_Form, and Translation of Zend_Validator messages

2010-10-28 Thread AmirBehzad Eslami
Hi, The error-messages of Zend_Validator_*** classes are located in different files, making it difficult to localize them at once. Are you aware of any .po file, containing a list of error messages, to ease the l10n? Please let me know. Thank you in advance, -b

Re: [fw-general] Zend_Form, and Translation of Zend_Validator messages

2010-10-28 Thread Christian Riesen
Download the full package of the zend framework files. There is a folder called resources\languages and inside are folders for different languages. Inside those is each a Zend_Validate.php which contains all the strings of each validator and it's translation in those languages already, in the