<?xml version="1.0" encoding="UTF-8"?>    <rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
      <channel>
        <title></title>
        <link>https://interactivetools.com/forum/forum-search.php?k=user%3Ahonolulu</link>
        <description></description>
        <pubDate>Tue, 12 May 2026 20:28:57 -0700</pubDate>
        <language>en-us</language>
        <atom:link href="https://interactivetools.com/forum/forum-search.php?k=user%3Ahonolulu&amp;rss=1" rel="self" type="application/rss+xml" />

                <item>
          <title>Re: [Jason] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217568#post2217568</link>
          <description><![CDATA[Hi,<br /><br />this work pretty fine, thanks. I have another question, how can i echo the search query(s) on results.php page i saw on multisearch some like <br /><br /><code>&lt;?php echo htmlspecialchars(@$FORM['q[]']); ?&gt;</code><br /><br />but this not work for me. How can i do that.<br /><br />Cheers<br />]]></description>
          <pubDate>Sat, 25 Aug 2012 10:40:38 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217568#post2217568</guid>
        </item>
                <item>
          <title>Re: [Jason] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217351#post2217351</link>
          <description><![CDATA[Hi,<br /><br />with this code:<br /><br /><code>$where = &quot;&quot;;   <br />     <br />  if (is_array(@$_REQUEST['oblast_grad'])) {   <br />     <br />    $where .= &quot;(&quot;; <br />    foreach ($_REQUEST['oblast_grad'] as $oblast_grad) {   <br />      $where .= &quot; oblast_grad LIKE '%\t&quot;.mysql_escape($oblast_grad).&quot;\t%' OR&quot;;   <br />    }   <br />       <br />    $where = rtrim($where, &quot;OR&quot;) . &quot;)&quot;;   <br />  }  <br />    <br />  if (is_array(@$_REQUEST['vid_na_imota'])) {   <br />     <br />    if ($where) { $where .= &quot; AND &quot;; } <br />     <br />    $where .= &quot;(&quot;; <br />     <br />    foreach ($_REQUEST['vid_na_imota'] as $vid_na_imota) {   <br />      $where .= &quot; vid_na_imota LIKE '%\t&quot;.mysql_escape($vid_na_imota).&quot;\t%' OR&quot;;   <br />    }   <br />       <br />    $where = rtrim($where, &quot;OR&quot;) .&quot;)&quot;; <br />     <br />  }  <br />   <br /> list($imotiRecords, $imotiMetaData) = getRecords(array(    <br />    'tableName'  =&gt;  'imoti',    <br />    'orderBy'    =&gt;   mysql_escape(@$_REQUEST['orderBy']),    <br />    'perPage'    =&gt;  '2',   <br />    'where'      =&gt;  $where,   <br />  )); $where = &quot;&quot;;   <br />     <br />  if (is_array(@$_REQUEST['oblast_grad'])) {   <br />       <br />    foreach ($_REQUEST['oblast_grad'] as $oblast_grad) {   <br />      $where .= &quot; oblast_grad LIKE '%\t&quot;.mysql_escape($oblast_grad).&quot;\t%' OR&quot;;   <br />    }   <br />       <br />    $where = rtrim($where, &quot;OR&quot;);   <br />  }  <br />    <br />  if (is_array(@$_REQUEST['vid_na_imota'])) {   <br />       <br />    foreach ($_REQUEST['vid_na_imota'] as $vid_na_imota) {   <br />      $where .= &quot; vid_na_imota LIKE '%\t&quot;.mysql_escape($vid_na_imota).&quot;\t%' OR&quot;;   <br />    }   <br />       <br />    $where = rtrim($where, &quot;OR&quot;);   <br />  }  <br />   <br />   <br /> list($imotiRecords, $imotiMetaData) = getRecords(array(    <br />    'tableName'  =&gt;  'imoti',    <br />    'orderBy'    =&gt;   mysql_escape(@$_REQUEST['orderBy']),    <br />    'perPage'    =&gt;  '2',   <br />    'where'      =&gt;  $where, <br />'debugSql' =&gt; true,  <br />  ));</code><br /><br />the output:<br /><br /><br /><code>SELECT SQL_CALC_FOUND_ROWS `imoti`.* FROM `cms_imoti` as `imoti` WHERE ( oblast_grad LIKE '% Troshevo %' OR oblast_grad LIKE '% Mladost %' vid_na_imota LIKE '% 1-room %' OR vid_na_imota LIKE '% 2-rooms %' ) LIMIT 2<br />MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'vid_na_imota LIKE '% 1-room %' OR vid_na_imota LIKE '% 2-rooms %' ) LIMIT 2' at line 3</code><br /><br /><br />Cheers<br />]]></description>
          <pubDate>Tue, 07 Aug 2012 15:29:10 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217351#post2217351</guid>
        </item>
                <item>
          <title>Re: [honolulu] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217331#post2217331</link>
          <description><![CDATA[Hi, <br /><br />is it possible in CMS builder to search in 2 or 3 multi value fields in the same time for example If i want to find 1 and 2 bedroom flat in Acton and Chelsie(London) and i give 120000 punds max price. This is my case, and should i use some real estate script which can do that?<br /><br />Cheers<br />]]></description>
          <pubDate>Tue, 07 Aug 2012 04:44:01 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217331#post2217331</guid>
        </item>
                <item>
          <title>Re: [Jason] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217324#post2217324</link>
          <description><![CDATA[Hi Jason,<br /><br />i try your code, but i doesn`t work it show some: <br /><br /><code>MySQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'vid_na_imota LIKE '% 1-ÑÑ‚Ð°ÐµÐ½ %' ) LIMIT 2' at line 3.</code><br /><br />This search thing is very important for the site, because it is based ot this search to find property that match their criteria for example from 2 different areas by 2 different types of homes in one town.</code><br /><br />Cheers<br />]]></description>
          <pubDate>Mon, 06 Aug 2012 14:34:03 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217324#post2217324</guid>
        </item>
                <item>
          <title>Re: [honolulu] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217306#post2217306</link>
          <description><![CDATA[Someone?<br />]]></description>
          <pubDate>Mon, 06 Aug 2012 10:38:49 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217306#post2217306</guid>
        </item>
                <item>
          <title>Re: [Jason] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217297#post2217297</link>
          <description><![CDATA[Hi,<br /><br />i try this, but it does not work:<br /><br />two fields(multi values)<br />1 - oblast_grad<br />2 - vid_na_imota<br /><br /><code>  $where = &quot;&quot;; <br />   <br />  if (is_array(@$_REQUEST['oblast_grad'])) { <br />     <br />    foreach ($_REQUEST['oblast_grad'] as $oblast_grad) { <br />      $where .= &quot; oblast_grad LIKE '%\t&quot;.mysql_escape($oblast_grad).&quot;\t%' OR&quot;; <br />    } <br />     <br />    $where = rtrim($where, &quot;OR&quot;); <br />  }<br />  <br />  if (is_array(@$_REQUEST['vid_na_imota'])) { <br />     <br />    foreach ($_REQUEST['vid_na_imota'] as $vid_na_imota) { <br />      $where .= &quot; vid_na_imota LIKE '%\t&quot;.mysql_escape($vid_na_imota).&quot;\t%' OR&quot;; <br />    } <br />     <br />    $where = rtrim($where, &quot;OR&quot;); <br />  }<br /> <br /> <br /> list($imotiRecords, $imotiMetaData) = getRecords(array(  <br />    'tableName'  =&gt;  'imoti',  <br />    'orderBy'    =&gt;   mysql_escape(@$_REQUEST['orderBy']),  <br />    'perPage'    =&gt;  '2', <br />    'where'      =&gt;  $where, <br />  ));</code><br /><br /><br />and search form:<br /><br /><code>&lt;div style=&quot;margin-left:20px; margin-right:20px; position:relative;&quot;&gt;<br />&lt;form id=&quot;search&quot; name=&quot;search&quot; method=&quot;GET&quot; action=&quot;results.php&quot;&gt;<br />&lt;div style=&quot;float:left; width:300px; margin-right:20px;&quot;&gt;<br />&lt;div&gt;&amp;#1042;&amp;#1080;&amp;#1076; &amp;#1085;&amp;#1072; &amp;#1080;&amp;#1084;&amp;#1086;&amp;#1090;&amp;#1072;&lt;/div&gt;&lt;div&gt;&lt;select id=&quot;state&quot; name=&quot;vid_na_imota[]&quot; size=&quot;5&quot; multiple=&quot;true&quot;&gt;<br />&lt;option value=&quot;1-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&quot; selected=&quot;selected&quot;&gt;1-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&lt;/option&gt;<br />&lt;option value=&quot;2-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&quot; selected=&quot;selected&quot;&gt;2-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&lt;/option&gt;<br />&lt;option value=&quot;3-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&quot;&gt;3-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&lt;/option&gt;<br />&lt;option value=&quot;4-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&quot;&gt;4-&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&lt;/option&gt;<br />&lt;option value=&quot;&amp;#1052;&amp;#1085;&amp;#1086;&amp;#1075;&amp;#1086;&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&quot; selected=&quot;selected&quot;&gt;&amp;#1052;&amp;#1085;&amp;#1086;&amp;#1075;&amp;#1086;&amp;#1089;&amp;#1090;&amp;#1072;&amp;#1077;&amp;#1085;&lt;/option&gt;<br />&lt;/select&gt;&lt;/div&gt;&lt;/div&gt;<br />&lt;div style=&quot;float:left; width:300px; margin-right:20px;&quot;&gt;<br />&lt;div&gt;&amp;#1050;&amp;#1074;&amp;#1072;&amp;#1088;&amp;#1090;&amp;#1072;&amp;#1083;/&amp;#1056;&amp;#1072;&amp;#1081;&amp;#1086;&amp;#1085;&lt;/div&gt;	<br />&lt;div&gt;&lt;select id=&quot;city&quot; name=&quot;oblast_grad[]&quot; multiple=&quot;multiple&quot; size=&quot;5&quot;&gt;<br />	&lt;optgroup label=&quot;&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;, &amp;#1052;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1086;&amp;#1089;&amp;#1090;, &amp;#1042;&amp;#1098;&amp;#1079;&amp;#1088;&amp;#1072;&amp;#1078;&amp;#1076;&amp;#1072;&amp;#1085;&amp;#1077;&quot;&gt;<br />		&lt;option value=&quot;&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;&quot;&gt;&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;&lt;/option&gt;<br />		&lt;option value=&quot;&amp;#1052;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1086;&amp;#1089;&amp;#1090;&quot;&gt;&amp;#1052;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1086;&amp;#1089;&amp;#1090;&lt;/option&gt;<br />		&lt;option value=&quot;&amp;#1042;&amp;#1098;&amp;#1079;&amp;#1088;&amp;#1072;&amp;#1078;&amp;#1076;&amp;#1072;&amp;#1085;&amp;#1077;&quot;&gt;&amp;#1042;&amp;#1098;&amp;#1079;&amp;#1088;&amp;#1072;&amp;#1078;&amp;#1076;&amp;#1072;&amp;#1085;&amp;#1077;&lt;/option&gt;<br />	&lt;/optgroup&gt;<br />	&lt;optgroup label=&quot;&amp;#1042;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1089;&amp;#1083;&amp;#1072;&amp;#1074; &amp;#1042;&amp;#1072;&amp;#1088;&amp;#1085;&amp;#1077;&amp;#1085;&amp;#1095;&amp;#1080;&amp;#1082;, &amp;#1050;&amp;#1072;&amp;#1081;&amp;#1089;&amp;#1080;&amp;#1077;&amp;#1074;&amp;#1072; &amp;#1075;&amp;#1088;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1085;&amp;#1072;&quot;&gt;<br />		&lt;option value=&quot;option4&quot;&gt;&amp;#1042;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1089;&amp;#1083;&amp;#1072;&amp;#1074; &amp;#1042;&amp;#1072;&amp;#1088;&amp;#1085;&amp;#1077;&amp;#1085;&amp;#1095;&amp;#1080;&amp;#1082;&lt;/option&gt;<br />		&lt;option value=&quot;option5&quot;&gt;&amp;#1050;&amp;#1072;&amp;#1081;&amp;#1089;&amp;#1080;&amp;#1077;&amp;#1074;&amp;#1072; &amp;#1075;&amp;#1088;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1085;&amp;#1072;&lt;/option&gt;<br />	&lt;/optgroup&gt;<br />	&lt;/select&gt;<br />	&lt;/div&gt;<br />	&lt;/div&gt;<br />	&lt;div style=&quot;float:left; width:300px; margin-right:20px;&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Search&quot; /&gt;&lt;/div&gt;<br />	&lt;/form&gt;&lt;/div&gt;</code><br /><br /><br />when chooce 1 option from vid_na_imota and 1 option from oblast_grad it does not do the search correct. Maybe my code is wrong :(<br />]]></description>
          <pubDate>Sat, 04 Aug 2012 16:14:12 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217297#post2217297</guid>
        </item>
                <item>
          <title>Re: [Jason] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217273#post2217273</link>
          <description><![CDATA[Ok that works like a charm, but only for this multivalue field. How can i combine to search on some others multi value fields. I mean real estate have type like: house, flat etc. They have to be multi choice too in search form. Like i said there will be a lot of options for one property so if I know how to add some option to be searchable in where clause it will be great for advanced search to build it on my own.<br /><br />Cheers<br />]]></description>
          <pubDate>Fri, 03 Aug 2012 03:17:48 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217273#post2217273</guid>
        </item>
                <item>
          <title>Re: [Jason] Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217248#post2217248</link>
          <description><![CDATA[It is multi value list. The table 'imoti' will have more other fields like is it for rent or buy, price and others, but for now my problem is with this. I make search form which give results with min and max price :) if i combine some advanced search for all fields it will be great.<br />]]></description>
          <pubDate>Tue, 31 Jul 2012 14:47:19 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217248#post2217248</guid>
        </item>
                <item>
          <title>Search problem</title>
          <link>https://interactivetools.com/forum/forum-posts.php?postNum=2217237#post2217237</link>
          <description><![CDATA[Hi to all, i have a little problem with custom search form and result page. Here is it:<br /><br /><br />I have table for Real Estate properties called 'imoti':<br /><br /><br /><br />Search index code head:<br /><br /><br /><code>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br /><br />  require_once &quot;/some-path/lib/viewer_functions.php&quot;;<br /><br />  list($imotiRecords, $imotiMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'imoti',<br />  ));<br />  <br /><br />?&gt;</code><br /><br /><br />Body form code:<br /><br /><code>&lt;form name=&quot;search&quot; method=&quot;GET&quot; action=&quot;result-nov-search.php&quot;&gt;<br />&lt;select name=&quot;oblast_grad[]&quot; multiple=&quot;multiple&quot; size=&quot;5&quot;&gt;<br />		&lt;option value=&quot;&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;&quot;&gt;&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;&lt;/option&gt;<br />		&lt;option value=&quot;&amp;#1052;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1086;&amp;#1089;&amp;#1090;&quot;&gt;&amp;#1052;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1086;&amp;#1089;&amp;#1090;&lt;/option&gt;<br />		&lt;option value=&quot;&amp;#1042;&amp;#1098;&amp;#1079;&amp;#1088;&amp;#1072;&amp;#1078;&amp;#1076;&amp;#1072;&amp;#1085;&amp;#1077;&quot;&gt;&amp;#1042;&amp;#1098;&amp;#1079;&amp;#1088;&amp;#1072;&amp;#1078;&amp;#1076;&amp;#1072;&amp;#1085;&amp;#1077;&lt;/option&gt;<br />		&lt;option value=&quot;&amp;#1042;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1089;&amp;#1083;&amp;#1072;&amp;#1074; &amp;#1042;&amp;#1072;&amp;#1088;&amp;#1085;&amp;#1077;&amp;#1085;&amp;#1095;&amp;#1080;&amp;#1082;&quot;&gt;&amp;#1042;&amp;#1083;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1089;&amp;#1083;&amp;#1072;&amp;#1074; &amp;#1042;&amp;#1072;&amp;#1088;&amp;#1085;&amp;#1077;&amp;#1085;&amp;#1095;&amp;#1080;&amp;#1082;&lt;/option&gt;<br />		&lt;option value=&quot;&amp;#1050;&amp;#1072;&amp;#1081;&amp;#1089;&amp;#1080;&amp;#1077;&amp;#1074;&amp;#1072; &amp;#1075;&amp;#1088;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1085;&amp;#1072;&quot;&gt;&amp;#1050;&amp;#1072;&amp;#1081;&amp;#1089;&amp;#1080;&amp;#1077;&amp;#1074;&amp;#1072; &amp;#1075;&amp;#1088;&amp;#1072;&amp;#1076;&amp;#1080;&amp;#1085;&amp;#1072;&lt;/option&gt;<br />	&lt;/select&gt;<br />&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;Search&quot; /&gt;<br /><br />&lt;/form&gt;</code><br /><br /><br />The result page - result-nov-search.php:<br /><br />Head:<br /><br /><br /><code>&lt;?php header('Content-type: text/html; charset=utf-8'); ?&gt;<br />&lt;?php<br /><br />  require_once &quot;/some-path/lib/viewer_functions.php&quot;;<br /><br />  list($imotiRecords, $imotiMetaData) = getRecords(array(<br />    'tableName'   =&gt; 'imoti',<br />	'orderBy' =&gt; mysql_escape(@$_REQUEST['orderBy']),<br />        'perPage'     =&gt; '2',<br />  ));<br /><br />?&gt;</code><br /><br /><br />List:<br /><br /><code>&lt;h1&gt;Real Estate - List Page Viewer&lt;/h1&gt;<br />    &lt;?php foreach ($imotiRecords as $record): ?&gt;<br />      Record Number: &lt;?php echo $record['num'] ?&gt;&lt;br/&gt;<br />      Name: &lt;?php echo $record['name'] ?&gt;&lt;br/&gt;<br />      Price: &lt;?php echo $record['price'] ?&gt;&lt;br/&gt;<br />      State: &lt;?php echo $record['oblast_grad'] ?&gt;&lt;br/&gt;<br />      _link : &lt;a href=&quot;&lt;?php echo $record['_link'] ?&gt;&quot;&gt;&lt;?php echo $record['_link'] ?&gt;&lt;/a&gt;&lt;br/&gt;<br /><br />      &lt;hr/&gt;<br />    &lt;?php endforeach ?&gt;<br /><br />    &lt;?php if (!$imotiRecords): ?&gt;<br />      No records were found!&lt;br/&gt;&lt;br/&gt;<br />    &lt;?php endif ?&gt;</code><br /><br />The thing is when choose 1 options (&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;) from oblast_grad select, it shows all listing, not only form &amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086; for example. When you choose 2 options it is the same - all listings. Is my code wrong or ... ?<br /><br />In URL - result-nov-search.php?oblast_grad[]=&amp;#1058;&amp;#1088;&amp;#1086;&amp;#1096;&amp;#1077;&amp;#1074;&amp;#1086;<br /><br />The result page have to show the listings form 1 option if the user select 1 or 2,3 options at the same time if he search for properties in 2,3 states.<br /><br />Thanks for help in advanced :)<br /><br />Cheers<br />]]></description>
          <pubDate>Tue, 31 Jul 2012 06:16:39 -0700</pubDate>
          <guid isPermaLink="true">forum-posts.php?postNum=2217237#post2217237</guid>
        </item>
              </channel>
    </rss>
  