筛选功能的实现: $_POST[‘page_urlrule‘] = ‘tuan-{$pinpai}-{$renqun}-{$type}-{$price}-{$area}-{$tese}-{$st}-{$asc}-{$page}.html‘;$page_fields = array();$page_fields[‘pinpai‘] = 2;$page_fields[‘renqun‘] = 3;$page_fields[‘type‘] = 4;$page_fields[‘price‘] = ‘100_200‘;$page_fields[‘area‘] = 5;$page_fields[‘tese‘] = ‘1_2_3‘;$page_fields[‘st‘] = ‘6‘;$page_fields[‘asc‘] = 0; echo _pageurl($_POST[‘page_urlrule‘],2,$page_fields);echo "<br>";$_POST[‘page_fields‘] = $page_fields;echo filter(‘pinpai‘,‘88‘);echo "<br>";echo filter(‘renqun‘,‘55‘);
时间: 2024-10-11 16:34:38