Advertisement
fernandezekiel

Untitled

May 21st, 2013
302
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. $ragioneSociale = $_GET['Cliente']['RagioneSociale'];  
  2.  
  3.                     $criteria=new CDbCriteria();
  4.                     $criteria->with =array('cliente');
  5.                     $criteria->condition = "cliente.RagioneSociale=:ragsoc";
  6.                     $criteria->params = array('ragsoc'=>$ragioneSociale);
  7.  
  8.                     $mPreventivo = Preventivi::model()->find($criteria);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement