Example #1
0
 public function display_array_result_of_checking_blog()
 {
     $mc = new myclass();
     $start = 0;
     $end = 100;
     $url = $this->get_url_of_the_scrapped_users($start, $end);
     $mc->print_r1($url);
     for ($i = 0; $i < count($url); $i++) {
         $url1 = $url[$i];
         for ($j = 0; $j < count($url1); $j++) {
             $url2 = $url1[$j]['url'];
             echo " <br>url:{$url2}";
             $response = $this->get_emails_from_the_page($url2);
             $mc->print_r1($response);
         }
         echo "<br>next----------------------------------------";
     }
 }
Example #2
0
  # $material = array('Cotton','Linen','Silk','Wool','Fur','Polyester','Rayon','Nylon','Acrylic','Chambray','Chino','Corduroy','Denim','Khaki','Leather','Lace','Latex','Spandex');
  # $pattern = array('Argyle','Camo','Checkered','Houndstooth','Floral','Leopard','Paisley','Pied','Pinstripe','Plaid','Polka-dotted','Stripe','Symmetry','Tiger Stripe','Zebra Print','Zigzag');
  # $Occasion = array('Amusement Park','Baby Shower','BBQ','Beach','Birthday Dinner','Blind Date','Bridal Shower','Brunch','Casual Party','Clubbing','Cocktail','College','Company Event','Conference','Dinner Date','Dinner Party','Everyday','Formal Event','High School','Internship','Interview','Lunch Date','Movie Night','Music Concert','Photo shoot','Picnic','Pool Party','Prom','Romantic Dinner','Theater / Play / Opera','Wedding','Wine Tasting','Work');
  # $season =array('Winter','Spring','Summer','Fall');
  # foreach ($season as $key => $value ) { $response = $mc->fs_modal_attribute(  array(   'type'=>'insert', 'matcno'=>8, 'name'=>$value, 'total'=>0, 'mno'=>133, 'status'=>1 ) ); }
  # $keySearch = 'er';  $response = $mc->fs_modal_attribute( array(   'type'=>'select', 'where'=>"name LIKE '$keySearch%' and matcno = 1 ", 'limit_start'=>0, 'limit_end'=>10 ) );


 

        
      

  if ( !empty( $response ) ) {  
    if ( is_array($response) ) {
     $mc->print_r1(  $response );
    }
    else { 
       if (  $response ) {
         echo " success   $response <br> ";
       }
       else{
        echo " failed   $response <br> ";
       }
    }   
  } 
  else{
    echo "response is empty please check if you return or assigned the response variable from the result <br> ";
  } 

  // echo " id $id <br> ";