View Full Version : The & thing in .txt
Bahset
January 21st, 2005, 01:55 PM
Hi,
I have this in a .txt file. :
Footer=blabla bl a bla
But i want this :
Footer=bla&bla bl a bla
If i write this and save it, and i open the html file it only shows this on the foot text :
bla
I dont c the rest on the html file, so there must be an another way to put that & into that .txt file so html can see it ???,,,
If i write & i get the same problem.
If somebody would like to help me out with this problem i would be very thankfull.
Ps: Sorry for my bad english :(
Ned Seagoon
January 21st, 2005, 02:18 PM
Hi Bahset
Please post the whole file so we can see what you have. BF
Bahset
January 21st, 2005, 02:28 PM
Thnx a lot for your reply BigFred.
The name of the file : Dryfooter.txt
It is this :
Footer=JD Bulk Containers of 20 and 40 ft.
I do this :
Footer=J&D Bulk Containers of 20 and 40 ft.
Html shows this when i open it at site :
J
I just dont c the rest of it, it get stopped at the &. The site is made in Flash.
Ned Seagoon
January 21st, 2005, 02:57 PM
Hi Bahset
So you don't start and end the file with the usual html tags? eg
<html>
<head><title>My Title</title></head>
<body>
Content
</body>
</html>
?? BF
Bahset
January 21st, 2005, 02:59 PM
Hi BigFred, ty for your reply
No,
This is the whole thing what i writed for that frame to do in Flash when the site get loaded,,
loadVariablesNum("dryfooter.txt", 0);
So in that .txt file is the foottext writed what i want. But there need to come a & into it but i cant get it at work.:(
Ned Seagoon
January 21st, 2005, 03:16 PM
OK Bahset
Not sure if I'm going to be able to help you because I'm not familiar with the requirements of flash, however if the flash in placed in a frame I would have thought that you would still need the tags to start and end the frame and that you would use the & code for the ampersand.
Just to humor me, add the tags and see if it make any difference, if not, we will have to wait for someone else to come along. BF
Bahset
January 21st, 2005, 03:26 PM
Ty for reply :)
I tryd what you said but didnt help ^^,,
Ty for your reponds anyways.
Ned Seagoon
January 21st, 2005, 03:30 PM
Thanks, sorry not able to help, lets hope someone comes along. BF
degsy
January 21st, 2005, 03:43 PM
Footer=J&D Bulk Containers of 20 and 40 ft
I too am not familiar with the method you are using but in HTML/scripting tems it may be called as a query string and that is why it is being cut off at the &
Try escaping the & by using a backslash
=J\&D
Steven.Bentley
January 23rd, 2005, 03:48 PM
also try & in place of the standalone &
Bahset
January 24th, 2005, 07:14 AM
Ok back in buseniss after the weekend ;)
Thnx for the replys.
Well,, i tryd both, but it still doesnt work, i know that in html code with the & it should work. But the footer i have is in .txt format so i think there should be another thing like amp; to write. But i didnt found it yet. If i will find it i will post it here.
Bahset
January 24th, 2005, 12:21 PM
Found it :rotflmao:
Hope it helps you guys 2. Here it comes :
Footer=J%26D Bulk Containers of 20 and 40 ft
:wave:
degsy
January 24th, 2005, 04:38 PM
Thanks for the info :)