Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ragioneSociale = $_GET['Cliente']['RagioneSociale'];
- $criteria=new CDbCriteria();
- $criteria->with =array('cliente');
- $criteria->condition = "cliente.RagioneSociale=:ragsoc";
- $criteria->params = array('ragsoc'=>$ragioneSociale);
- $mPreventivo = Preventivi::model()->find($criteria);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement