ronaldobernal

Sunday, December 2, 2012

YII: Fetch rows using msql In clause


$criteria = new CDbCriteria; 

$criteria->addInCondition("model_id", $_POST['autoId']); 

$Model= Model::model()->findAll($criteria);

Posted by Unknown at 3:57 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: YII

YII: Getting the Base URL


<?php echo getBaseUrl(true) ?>
Posted by Unknown at 3:47 PM No comments:
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Labels: YII
Newer Posts Older Posts Home
Subscribe to: Posts (Atom)

Blog Archive

  • ►  2013 (2)
    • ►  January (2)
  • ▼  2012 (13)
    • ▼  December (2)
      • YII: Fetch rows using msql In clause
      • YII: Getting the Base URL
    • ►  November (4)
    • ►  September (1)
    • ►  August (6)

About Me

Unknown
View my complete profile
Simple theme. Powered by Blogger.