Saved Searches

$qr){ echo ""; foreach ($qr as $key=>$value){ if($key==='user_id'||$key==='search_id'||$key==='user_id'){continue;} if($key==='search_url'){ echo ""; } elseif ($key==='subscription'){ if($value==1){ echo ""; } } else{ echo ""; } }?> ";?> 'btn btn-primary']) ?> "; } echo "
Date Search_Url Number of Records Subscription Action
".$value.""; Pjax::begin([ 'enablePushState'=>false]);?> 'btn btn-primary','data-pjax'=>'w0','timeout'=>'100000']) ?> "; } else{ echo "
"; Pjax::begin(['enablePushState'=>false]); Yii::$app->session['search']=$qr['search_url']; Yii::$app->session['records']=$qr['nb_records_0'];?> 'btn btn-success','data-pjax'=>'w0','timeout'=>'100000']) ?>
".$value."
"; ?>