If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > database beginner question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-12-07, 14:50
adstudio3d adstudio3d is offline
Registered User
 
Join Date: Jan 2007
Posts: 10
database beginner question

I need some help setting this up. Can anyone help me out, how to do this?

I have an html page with a flash menu, and an iFrame which I want to load database content into when I click on product in the flash menu...

Ok here is what I have:

Flash sets variable
Code:
on (press) {
	product = "CK5029";
	play();
}
Flash sends variable - works in testing...
Code:
//  getURL - use for testing to make sure variables are passed
//  getURL("http://www.emersonradio.com/processForm.asp",0,"post");
loadVariablesNum("http://www.emersonradio.com/processForm.asp", 0, "POST");
ASP
Code:
<%@language = "VBScript" %>

<%

strProduct = Request.Form("product")
Response.Write(strProduct)

MyPath=Server.MapPath("database/emersondb.mdb")
Set conn = Server.CreateObject("ADODB.Connection") '
conn.Open "Driver={Microsoft Access Driver (*.mdb)};" & _
"DBQ=" & MyPath

%>
This is what I have so far...
Here is a link so you can see what I'm trying to get to work.
www.emersonradio.com/test/

The image on the right is a template of what I want to load in dynamically.
- image
- Product #
- description
- 3 hyperlinks (large image, spec sheet, price)

If you click on the clock radio section in the menu, then on the first product it will load the webpage in the iFrame instead of a template image.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On