close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Data Assist Search Wizard Price Range Search Errors

Thread began 4/18/2011 10:40 am by hbibizadeh396670 | Last modified 4/19/2011 4:00 pm by Jason Byrnes | 1331 views | 6 replies |

hbibizadeh396670

Data Assist Search Wizard Price Range Search Errors

I am developing a website that needs price range search.

I have used dataassist to make the insert update delete pages etc..

I then used the search wizard to make the min price max price search however I get this error after a search.

Notice: Undefined index: S_MinPrice in C:\wamp\www\Siteezy_EstateAgent\ManageProperty\ManageProperty_Search.php on line 19

Notice: Undefined index: S_MaxPrice in C:\wamp\www\Siteezy_EstateAgent\ManageProperty\ManageProperty_Search.php on line 20

I also get no results.

Thanks in advance

Sign in to reply to this post

hbibizadeh396670

Hi,

I managed to stop the errors from coming up but I still don’t get any results.

Not only when I search but even when I lunch the page.

Also, I am not sure should the price fields in my database be decimal or int

I used the search assist wizard on the results page and post the search from on the search page to the results page

Sign in to reply to this post

hbibizadeh396670

Hi,

Made a small mistake, I do still get errors.

------------------

Notice: Undefined index: S_MinPrice in C:\wamp\www\Siteezy_EstateAgent\ManageProperty\ManageProperty_Results.php on line 19

Notice: Undefined index: S_MaxPrice in C:\wamp\www\Siteezy_EstateAgent\ManageProperty\ManageProperty_Results.php on line 20

------------------
I have tried all I can, not sure what to do, I attached a copy of my files.

If you could take a look I would appreciate it

Thanks in advance

Attached Files
ManageProperty.zip
Sign in to reply to this post

Jason ByrnesWebAssist

your form uses the get method.


change lines 19 - 20:

php:
$WADbSearch2->addComparison("Price","".WADS_stripCurrency($_POST["S_MinPrice"])  ."","AND",">=",1);

  $WADbSearch2->addComparison("Price","".WADS_stripCurrency($_POST["S_MaxPrice"])  ."","AND","<=",1);




to:

php:
$WADbSearch2->addComparison("Price","".WADS_stripCurrency($_GET["S_MinPrice"])  ."","AND",">=",1);

  $WADbSearch2->addComparison("Price","".WADS_stripCurrency($_GET["S_MaxPrice"])  ."","AND","<=",1);
Sign in to reply to this post

hbibizadeh396670

Thanks for your reply.

However I tried it, and although I no longer get an error.

I do not get any results for my searches. How do I fix this?

Thanks

Sign in to reply to this post

hbibizadeh396670

how do I show coma in prices

showthread.php?p=96619#post96619

Sign in to reply to this post

Jason ByrnesWebAssist

I have created a support ticket so we can look into this issue further.

To view and edit your support ticket, please log into your support history:
supporthistory.php

If anyone else is experiencing this same issue, please append to this thread.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...