Forums

This topic is locked

Dreamweaver - Repeat Region Recordset - $_GET

Posted 16 Mar 2007 19:08:50
1
has voted
16 Mar 2007 19:08:50 Simon Rostron posted:
I have a really simple question regarding the Repeated Regions for Recordsets in Dreamweaver. By Default you can select the amount of repeated Rows when creating a record set, e.g 5-10 ALL Etc.

This Creates a PHP String like This

$maxRows_dealership_stocklist_forsale = 10;
$pageNum_dealership_stocklist_forsale = 0;

Okay

I have a MySQL Database Connected to all of my Pages with the record set's, I wish to get a value from a table which would be a number of records to show, rather than having a fixed number. It would look like this

$maxRows_dealership_stocklist_forsale = <font color=red>$_GET[tablename.table_maxrows_setting]; </font id=red>
$pageNum_dealership_stocklist_forsale = 0;

I have tried dragging over the dynamic content from the table and i kept getting errors ? What is the correct way to this ?

Thanks.

Reply to this topic