Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading links and attributes from a text file. 1

Status
Not open for further replies.

MrSki

Programmer
Dec 13, 2000
66
US
I have a FLASH movie which reads in a different variable of text depending which tab you are viewing. But within the text is a URL using multiple Attributes. The file will not load past the second attribute of a URL since it thinks the & is the start of a new variable declaration.

Is there a way to escape the & so it will still work?

Example:

&NewText=<a href=&quot;showCourse.cfm?AutoID=16&ORG=AFN&quot;>

Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
Check:
Regards,
mywink2.gif
ldnewbie
 
Thanks, ldnewbie, but I had already looked at that page. Unfortunately when I insert &amp; instead of just the & I get the same problem. Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
In the text file, try replacing the & by %26 - It worked for me!

Regards,
mywink2.gif
ldnewbie
 
That did the trick! Thanks so much!! Mitch Duszynski
Web Developer
Human Kinetics
PO Box 5076, Champaign, IL 61825
Tel: 217-351-5076 x2474 | Fax: 217-351-2674
mitchd@hkusa.com |
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top