- This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘Back End’ is closed to new topics and replies.
The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Having a problem viewing my code. I create a new file, type my code, save it, and test it with a browser. Works fine.
When I go back to the original text file, it opens, but it shows the browser output and not the original code. What am I doing wrong? I’m using a mac. Thanks!
are you just double clicking the file to re open the original text file? I’m assuming you named it with a .html at the end, in which case if you just double click it the most common default action would be to load it in a web browser. so if you want to view the code again you’ll have to open a text editor and either drag the file onto it or open it via the open menu option
One file has a .html extension, the other a .php extension. Yes, when I double click the file, I get a browser window.
I opened the files through my text editor, and I get the same output, except on my text editor instead of a browser window.
On your recommendation, I tried dragging the file onto an opened text editor – that didn’t work.
Help!!!
Are you in design mode?
There should be a button to switch between design mode and edit mode, or you can try to open it in another editor.
I’m a newbie… I am completely unaware of such a design/edit mode button… I don’t have another editor, though I can download one.
Any suggestions on a good mac text editor? I hope that thats the problem, though I don’t think it is. When I set up MAMP, the htdocs folder came with an “index.php” file in it. Whenever I open that, it opens in plain text format, with all the code immediately visible. No problems. Its just with the files that I make that I’m encountering this issue. Thanks.
try Coda or Textmate on mac
using Textmac. it seems to be addressing the problem. thanks!