note 70398 added to ref.mnogosearch
| From: | mikko at sorl dot net | Date: | Sat, 14 Oct 2006 21:30:30 +0000 |
| Subject: | note 70398 added to ref.mnogosearch | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-118531@lists.php.net to get a copy of this message | ||
Sorry, i still did not get it right, replace the above fetch function with this instead:
<?php
public function fetch() {
$this->total = udm_get_res_param($this->res, UDM_PARAM_FOUND);
$r = udm_get_res_param($this->res, UDM_PARAM_NUM_ROWS);
$fields = array('urlid', 'url', 'content', 'title',
'keywords', 'desc',
'text', 'size', 'rating',
'modified', 'order', 'crc', 'category',
'lang', 'charset', 'siteid',
'pop_rank', 'originid');
for($i=0; $i<$r; $i++){
for($j=0; $j<count($fields); $j++) {
$this->matches[$i][$fields[$j]] = udm_get_res_field($this->res, $i, $j+1);
}
}
}
?>
----
Server IP: 129.16.214.50
Probable Submitter: 213.114.99.43 (proxied: 127.0.0.1)
----
Manual Page -- http://www.php.net/manual/en/ref.mnogosearch.php
Edit -- https://master.php.net/note/edit/70398
Del: integrated -- https://master.php.net/note/delete/70398/integrated
Del: useless -- https://master.php.net/note/delete/70398/useless
Del: bad code -- https://master.php.net/note/delete/70398/bad+code
Del: spam -- https://master.php.net/note/delete/70398/spam
Del: non-english -- https://master.php.net/note/delete/70398/non-english
Del: in docs -- https://master.php.net/note/delete/70398/in+docs
Del: other reasons-- https://master.php.net/note/delete/70398
Reject -- https://master.php.net/note/reject/70398
Search -- https://master.php.net/manage/user-notes.php