Skip to main content
May 24, 2012 1:09 AM UTC
Question

Refilter results on same page?

I have a mysql db table with 3 columns

Name

Age

Sex

I inserted the data from the table onto the page with no problem (recordset and inserted dynamic table on page).

John        39      Male

Chris       22      Male

Sarah      25      Female

What i now want to do is have some buttons on the page so users can re-filter the results.  i.e. change the intial display from 'select all'  to  'select from all where sex equals female'.

Is there a option in dreamweaver to do this?.   I cant find any options under Insert>Data objects to do this.

TIA

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Rob Hecker2
Legend
May 24, 2012 1:24 PM UTC

This is a SQL question. Give your query a WHERE clause, like this:

SELECT * FROM tablename WHERE SEX = 'female'

Translate
May 24, 2012 1:39 PM UTC

I understand the query.  I am asking about DW.

i.e.  as to whether dreamweaver can create the filter buttons needed i.e. perhaps a suitbale DW extension.  if not i will need to hire a php coder.

Translate