close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Pull data from MySQL to display in table

Thread began 5/12/2011 5:50 pm by Sn0man | Last modified 5/16/2011 8:11 am by Jason Byrnes | 1722 views | 4 replies |

Sn0man

Pull data from MySQL to display in table

Hello again!

What i'm trying to do is to pull 5 feilds from my users table to display on my admin_index page, which will contain clients hosting, password and domain expiry information. I created a recordset that contains all these fields, then got stuck trying to figure out what the next steps would be.

I'm pretty sure I know how to get these things to display on the users_Profile page using session variables, but i'm nor sure how to get them to display on my admin_index page. I had a look at the results page to see what the code was doing to display all those records, but I couldn't quite get a grasp on what i'd need to do to make it work.

Any help?

Thanks in advance :)

Sign in to reply to this post

Jason ByrnesWebAssist

create a table with 1 row and 5 columns.

Open the bindings panel, and expand the recordset binding group.

Drag the binding for each recordset column into the a cell of the table.

In the tag inspector, select the tr tag, then go to the server behavior panel and click the plus button. Select repeat region to add a repeat region around the table row to loop through the recordset and create a new table row for each result.

Sign in to reply to this post

Sn0man

Thanks Jason,

I did all those steps, but the data still isn't appearing?

Sign in to reply to this post

Sn0man

Nevermind, I figured it out. I just had my recordset configured incorrectly. Thanks!

Sign in to reply to this post

Jason ByrnesWebAssist

Ok, glad to hear it is 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...