close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Search option

Thread began 3/22/2013 7:52 am by wbrooks199805 | Last modified 3/22/2013 9:02 am by wbrooks199805 | 1254 views | 4 replies |

wbrooks199805

Search option

I am trying to update up DA search and it keeps generating code <?php require_once("../webassist/database_management/wada_search.php"); ?> which gives an error:
Fatal error: Cannot redeclare waqb_getenddate() (previously declared in /home/content/n/a/m/namcnational/html/webassist/database_management/wada_search.php:332) in /home/content/n/a/m/namcnational/html/WADbSearch/HelperPHP.php on line 345

So I delete that ..but it won't return any search options.
I have attached the file.

I did up date recently from Data Assist to Data Bridge. Also, All the records show when I open the page. As soon as I do a search all the records disappear. I want to be able to search by each field, not all. I think I have the correct as "AND"

Sign in to reply to this post

Jason ByrnesWebAssist

You need to remove line 9 which is the include for the old Data Assist search include file:
<?php require_once("../WADbSearch/HelperPHP.php");?>

to troubleshot why the search is not returning any results I will need a link to the search page to test the search.


also if you could add the following code on the results page just after the <body> tag to display the search SQL, that would be helpfull:

php:
<?php echo("SQL: ".$query_limit_WADAmembers."<br />"); ?>
Sign in to reply to this post

wbrooks199805

here you go..

members_Results.php

Sign in to reply to this post

Jason ByrnesWebAssist

one issue I see is in the last 2 select lists, they do not have blank values for the default options. in the sourch code i see:


<select name="S_servicesone" class="WADADataTableCell" id="S_servicesone">
<option selected>NACIS Code</option>



and:
<select name="S_divisionone" id="S_divisionone">
<option value="selected" selected="selected" > Divisions</option>


those should be:
<select name="S_servicesone" class="WADADataTableCell" id="S_servicesone">
<option value="" selected>NACIS Code</option>



and:
<select name="S_divisionone" id="S_divisionone">
<option value="" selected="selected" > Divisions</option>

Sign in to reply to this post

wbrooks199805

You are right

When I put that code on, I thought it might be that.

Thanks so much Jason, as always. ;)

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...