Question
Showing records after search
Hi everyone,
I have a site setup with MYSQL and PHP. Made a database with a few columns. Still using Dreamweaver 2004MX.
When I submit my searchpage it goes do resultpage with the known repeat region of 10 records and the navigationbar of MX2004. If I don't use any search variables, I get all my records and that is good and I can browse with the next and previous buttons between the pages. BUT if I make a recordset to filter the records and I pass a place or a name variable to search for something, I still get the results but only on the first page...when I press the "next" button the following page is empty ! Is this a bug ? The default value that Dreamweaver puts in the SQL-code
is "1" and it uses "POST"... If I change the default value in "%" then the first page is correct and the following pages show me all the records.. So I presume that it has something to do with this "default value" ?
Can anyone help me out with this ?
Thx
Stefan
I have a site setup with MYSQL and PHP. Made a database with a few columns. Still using Dreamweaver 2004MX.
When I submit my searchpage it goes do resultpage with the known repeat region of 10 records and the navigationbar of MX2004. If I don't use any search variables, I get all my records and that is good and I can browse with the next and previous buttons between the pages. BUT if I make a recordset to filter the records and I pass a place or a name variable to search for something, I still get the results but only on the first page...when I press the "next" button the following page is empty ! Is this a bug ? The default value that Dreamweaver puts in the SQL-code
is "1" and it uses "POST"... If I change the default value in "%" then the first page is correct and the following pages show me all the records.. So I presume that it has something to do with this "default value" ?
Can anyone help me out with this ?
Thx
Stefan