close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Print info from database on page in correct spot

Thread began 4/14/2010 3:59 pm by Larry | Last modified 4/15/2010 1:44 pm by Jimmy Wu | 497 views | 1 replies |

Larry

Print info from database on page in correct spot

I hope I can post this question here, I have a page for a raffle for a non-profit that I help out. The page has a simple form asking for square number, (the number of the square you are choosing), your full name and email address. The form works fine, the info is entered into the database just as it should be.

Also on the page is a table with 10 columns and 10 rows, (100 squares). What I need to know is how do I get the persons name only to show in the proper square that they chose when filling in the form, I need the persons name to show in the square they chose, for example, when filling out the form, the visitor chooses square number 10, then enters there name and email into the form, how or what must I do here to get the visitors name to appear in the appropriate square number once the page refreshes.

The page is here, spring_raffle.php

Any suggestions or help would be appreciated. I do own Super Suite among many other Web Assist products.

Larry

Sign in to reply to this post

Jimmy Wu

This isn't really supported, so I will give you steps on how to get this done, but other than that, I can't give you much help.

You could have a recordset that gets all the entries that are stored in the database. Then have a loop that goes through them and sets session variables with the name if the spot number is found. So you'd have 100 session variables if all 100 spots are taken. Then in the boxes, you would do an isset check on the session variable and display the value of the session variable if it is set. Otherwise, you'd just set the box to display normally.

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