Jump to content

samitrimal

Members
  • Posts

    14
  • Joined

  • Last visited

Everything posted by samitrimal

  1. You can do if(!file_exists($_SERVER['DOCUMENT_ROOT']."theme/default/images/". $pros['image'])) $img = site_url()."theme/default/images/noimage.jpg"; else $img = site_url()."theme/default/images/". $pros['image']; ?>
  2. You can do Zend\Db\|Sql\Sql, here is the simple implementation. http://samitrimal.blogspot.com/2013/02/database-operation-in-model-using.html
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.