Page 1 of 1
[SOLVED] Export to Notepad
Posted: Wed Jun 01, 2005 3:07 am
by S_henry
When i open(export) php file (by using header code) to MS Excel, the system will display the file properly. But when i export the php file to be opened by Notepad, the system will display that file not properly. When open by notepad, the design is out. For example, this code:
I think it should 'break line'. But in notepad, it still display "</br>". Other than that, sometime got unknown 'square' symbol for 'space'. Anybody know what's the problem pls?
Posted: Wed Jun 01, 2005 3:10 am
by JayBird
for a new line in notepad you will need to
Posted: Wed Jun 01, 2005 3:11 am
by ddragas
Try with \n
Posted: Wed Jun 01, 2005 3:30 am
by S_henry
I just put "\n" but it still cannot. The square symbol appeared at that space. Got another idea?
Posted: Wed Jun 01, 2005 3:39 am
by onion2k
Posted: Wed Jun 01, 2005 4:48 am
by S_henry
OK. Now it's fine. Thanx guys..

Posted: Wed Jun 01, 2005 5:18 am
by S_henry
1 more thing, in notepad, is it possible to put link (<a href=...></a>)? If can, how to code that? This is a part of my code sample:
Code: Select all
echo "\r\n";
echo ("$point->link");
echo "\r\n";
Posted: Wed Jun 01, 2005 5:23 am
by Ross2376
I don't believe NotePad has URL capabilities. I could be wrong, though.
Posted: Wed Jun 01, 2005 5:40 am
by S_henry
Actually i also think like that. But maybe somebody got any idea. Because if it is possible, my system will be better. Any idea pls?
Posted: Wed Jun 01, 2005 5:40 am
by JayBird
no, links wont work in notepad
Posted: Wed Jun 01, 2005 7:45 am
by phpScott
you can only do in note pad what the menu's let you do.
When in doubt see if you can do it in notepad first. if not sorry, you out of luck.

Posted: Wed Jun 01, 2005 8:17 am
by Chris Corbyn
Notepad is an editor nothing more... you wont get it to do anything other than display and edit the contents of a file. I mean, what would you expect to happen if you opened an MP3 with notepad for example? Music? Nope, you see the code that makes up the MP3.
Posted: Wed Jun 01, 2005 9:32 pm
by S_henry
I see.. Now i'm more clear about it. So thanx guys for all the replies..