How do you edit .PHP files [closed]
I tried to edit a .php file in "Writer" and it ran the code. How do you edit these files?
R
First time here? Check out the FAQ!
I tried to edit a .php file in "Writer" and it ran the code. How do you edit these files?
R
It is recommended to use a plain "text editor", like Notepad or Notepad++. These won't run the PHP script and will save it as you have written it, without adding any word processor formatting.
If you really want to edit a PHP file in Writer (and yes, it is an utterly bad idea), change the file name extension to .txt and open/save it as unformatted text. When you open the file, always set the text language to none, this will (very slightly) reduce your chance of shooting your leg.
for that kind of file try to use a simple text editor (Notpade++ on windows and gedit , kate on linux) or an IDE (integrated development Environment ) such as PHPStorm etc.... which can help you to code and make changes easily
Asked: 2020-11-22 20:33:54 +0100
Seen: 74 times
Last updated: Nov 24 '20
How do you add bullets to an already number-bulleted group of statements? [closed]
Can I use Microsoft Publisher files with LibreOffice? [closed]
Alternating table column numbering, Col1 Numbers, Col2 Letters? [closed]
Are there any plans to improve image handling? [closed]
LibreOffice 3.5 Writer crashes when making PDF [closed]
How can I center the document in a Writer window? [closed]
How to change datasource in form letter / mail merge imported from MS-Word [closed]
Draft Layout option for Writer (aka Normal View) [closed]
Spell check breaks between Windows and Linux LO installs [closed]
This is not a question related to LibreOffice and especially it is a bad idea at all to use a word processor editing source code.