close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Nested Repeat Regions

Thread began 10/23/2019 6:12 pm by BillHobbs | Last modified 10/28/2019 3:06 pm by Ray Borduin | 64 views | 6 replies |

BillHobbs

Nested Repeat Regions

I had created a nested repeat region before using an older version of Dataassist. Now that I'm switched the new Mysqli Behavior my nested repeat no longer works. Is there a tutorial on how to do this somewhere using mysqli recordset. I'm uploading my previous file which worked fine.

I assume the recordset queries would be the same using mysql and mysqli. My real issue is how would the code change for the beginning and ending of the nested repeat regions.

The lines that I'm mostly interested in are lines:
153-157
173
189

Attached Files
calendar.php
Sign in to reply to this post

Ray BorduinWebAssist

This should be updated automatically when you update your recordsets to MySQLi. The attached page still has MySQL recordsets. Just update those and the rest of the code should update automatically.

Sign in to reply to this post

BillHobbs

I replaced the old mysql recordset with the mysqli records. The values appear to be showing up but the nested repeat region isn't working still. I've uploaded the file. Thanks for all your help. When I updated the recordset it didn’t update the echo scripts, I had to do that manually.

Attached Files
calendar.php
Sign in to reply to this post

Ray BorduinWebAssist

That is odd. Did you open and edit the existing recordset? I see the repeat region wasn't properly updated as well and it should have been.

At this point I think the easiest solution would be to delete the repeat region that is on the page and then highlight the table on lines 152-194 and re-apply the mySQLi repeat region on the rsEvents table.

Then you can manually delete the mysql_free_results lines at the bottom of the page as well. Those will no longer be necessary.

I think that will do it for this page.

Sign in to reply to this post

Ray BorduinWebAssist

Did that work out? If not, just upload the latest version of the page and let me know what is still wrong and I can try to help.

Sign in to reply to this post

BillHobbs

I had to play around with it, but ultimately I got it to work. Nested repeat regions would be an awesome feature to add to DataAssist.
Thanks for your help.

Sign in to reply to this post

Ray BorduinWebAssist

You can nest a "Repeat Selection Improved" inside of a "Repeat Region" with our tools to get nested repeated regions working.

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