Issue 1
I have been using NetBeans on my work machine to develop a PHP website. The issue I have is that using netbeans, in the application itself, every other line is a blank line. Even opening a correctly formatted document will cause this issue. E.g.:
Coded using Notepad:
<p>
Test para with
just a standard line break
and just a few more to
show what I mean</p>
When displayed in NetBeans is shows as:
<p>
Test para with
just a standard line break
and just a few more to
show what I mean</p>
Issue 2
The main issue I have, is that all files saved are saved in a single line (proven when opened in notepad). This causes me an issue when uploading as it reads the PHP files in a single line so the first comment will cause the rest of the document to be commended:
<?php[]include('lib/config.php');[][]$query = "SELECT * FROM......"[][]// This comment now comments out the rest of the document>
The [] represent the square boxes shown in the notepad file.
I have tried all the formatting settings in NetBeans for PHP but I can't seem to resolve it.
Thanks