2009年8月1日星期六

RE: [fw-db] fecthing data with option

Thank you all...

 

All above are tested and working....

 

Erdal YAZICIOGLU
Field Project Engineer Manager
Shell GTL Pearl Project
Page Europa S.R.L
Doha-Qatar
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)
www.erdalyazicioglu.com.tr

 

From: Peter Warnock [mailto:petewarnock@gmail.com]
Sent: Saturday, August 01, 2009 5:45 PM
To: Erdal YAZICIOGLU
Cc: Ari Awan; Simone Cosci; fw-db@lists.zend.com
Subject: Re: [fw-db] fecthing data with option

 

 

What if you try this one :

 

$where = $choice .'= ?,'. $material;

$select = $searchDatabase->select()->where($where);
$rows = $searchDatabase->fetchAll($select);
$this->view->searchDatabase = $rows;


$select = $table->select()
                       ->where($verifiedcolumn  . '= ?', $material)
                       ;
$rowset = $table->fetchAll($select);

- pw 

没有评论: