本文整理汇总了PHP中myclass::print_r1方法的典型用法代码示例。如果您正苦于以下问题:PHP myclass::print_r1方法的具体用法?PHP myclass::print_r1怎么用?PHP myclass::print_r1使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类myclass
的用法示例。
在下文中一共展示了myclass::print_r1方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display_array_result_of_checking_blog
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----------------------------------------";
}
}
示例2: array
# $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> ";