Sorry, forgot the debug info: Search with 23+ [24-May-2007 15:29:10] P.MAPPER debug info Searcharray in search.php->getSearchParameters() Array ( [PHPSESSID] => 9a541549cd6b6e508eaad68df45b2eb7 [MAPPALE] => 23 [mode] => search )
[24-May-2007 15:29:10] P.MAPPER debug info Parameters for searchArray file: query.php->q_execAttributeQuery Array ( [PHPSESSID] => 9a541549cd6b6e508eaad68df45b2eb7 [MAPPALE] => 23 [mode] => search ) [24-May-2007 15:29:10] P.MAPPER debug info Parameters for searchParams file: query.php->q_execAttributeQuery Array ( [layerName] => catastale [layerType] => shape [firstFld] => CODICI [qStr] => ( ( "[MAPPALE]" =~ /^(2|2)(3|3) $/) ) ) Search with 23 [24-May-2007 15:29:25] P.MAPPER debug info Searcharray in search.php->getSearchParameters() Array ( [PHPSESSID] => 9a541549cd6b6e508eaad68df45b2eb7 [MAPPALE] => 23 [mode] => search ) [24-May-2007 15:29:25] P.MAPPER debug info Parameters for searchArray file: query.php->q_execAttributeQuery Array ( [PHPSESSID] => 9a541549cd6b6e508eaad68df45b2eb7 [MAPPALE] => 23 [mode] => search ) [24-May-2007 15:29:25] P.MAPPER debug info Parameters for searchParams file: query.php->q_execAttributeQuery Array ( [layerName] => catastale [layerType] => shape [firstFld] => CODICI [qStr] => ( ( "[MAPPALE]" =~ /^(2|2)(3|3)$/) ) ) It seem that the + is seen as a space. Bye Luca On 5/24/07, Luca Casagrande <[EMAIL PROTECTED]> wrote: > > Hi Armin, > > I am still working on the search feature of my project. > I noticed this: > In a column i have some value with a + at the end (like 23+); also if i > set the search on the exact value > using 23 as input show both 23 and 23+.This is ok. > The matter is that if i use 23+ as search string, no result is show. > > P.S all fields are set as "s" string. > > Thank you very much! > > Luca > > > On 5/22/07, Luca Casagrande <[EMAIL PROTECTED]> wrote: > > > > Thank you Armin...it works like charm! > > > > i'll continue the testing and will report any bug. > > > > Have a nice day > > Luca > > > > Il giorno 22/mag/07, alle ore 00:00, Armin Burger ha scritto: > > > > > I uploaded a modified search.php: > > > http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp/query/ > > > search.php > > > > > > it solved some problems with multiple fields. Try if it helps. > > > > > > armin > > > > > > Luca Casagrande wrote: > > >> I installed the p.mapper 3.1 beta-6 available and the result seem > > >> the same: > > >> [21-May-2007 17:42:52] P.MAPPER debug info > > >> Parameters for searchParams > > >> file: query.php->q_execAttributeQuery > > >> Array > > >> ( > > >> [layerName] => catastale > > >> [layerType] => shape > > >> [firstFld] => FOGLIO > > >> [qStr] => (( ( "[FOGLIO]" =~ > > >> /^(F|f)(8|8)(4|4)(4|4)(_|_)(0|0)(0|0)(0|0)(4|4)(0|0)(0|0)$/) )AND > > >> ( AND > > >> "[MAPPALE]" =~ /^(7|7)(8|8)$/) ) > > >> Should i try with svn? > > >> Thanks > > >> Luca > > > > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users