views:

332

answers:

1

I am trying to create a simple search form to filter the results in the dynamic table.

The search form is on the same pages as the results and posts to itself.

I get the search string from the post variable.

It is working, but I can't figure out how to set the default value to display all results.

Dreamweaver automatically sets the default value to -1, and therefore no results are displayed on the initial load.

How do I change this to display ALL records as default and the filter only if there is search string defined.

A: 

This sounds like a duplicate of the following question: http://stackoverflow.com/questions/1390739/dreamweaver-recordset-default-value-php-how-to-return-all-records

Danilo Celic