Solved

using a asp-imported variable in something other then a dynamic text box??

Posted on 2004-04-29
3
143 Views
Last Modified: 2010-04-03
Hi.. I want to draw in variables from an asp page, then using these variables, open a text file.
seems simple enough, right?

sadly, it's not.

the filename I wish to open is determined by a variable that I draw from the database.

ie:

filename="s"+sid+"q"+questionid+"l"+lid+".txt";

but the sid, questionid and lid are variables drawn from a database and the only way i can reference them is to use them in a dynamic text box. thus,
the filename variable becomes sql.txt which is brassin me right off.. arrgghh!!

could any one help please?

ta

Daryn
0
Comment
Question by:daryn
  • 2
3 Comments
 
LVL 39

Accepted Solution

by:
blue-genie earned 200 total points
Comment Utility
Hi, i don't know what you mean by you can only reference the variables using a text box - i don't agree, are you sure you are pulling in your variables correctly?
0
 
LVL 39

Expert Comment

by:blue-genie
Comment Utility
so what happened here?
0
 

Author Comment

by:daryn
Comment Utility
thanks but i stumbled my way through it.. :)

honestly didnt have time to get back to you, my apologies, so just played about and hit the answer. (cant honestly remember what it is, i'm sorry to say, it's the project before the last project and it's clean out of my mind!)

Ta
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now