Best html/php editor

Do you have a technical question that doesn't really fit a specific console? Want some general info on electronics, hacking, making cookies, etc? Here's the place to ask! Go nuts.

Moderator: Moderators

Post Reply
Kurt_
Portablizer
Posts: 5748
Joined: Thu Nov 24, 2005 10:32 am
Steam ID: kurbert
Location: Ontario, Canada
Contact:

Best html/php editor

Post by Kurt_ »

I'm looking for a good html/php editor (mostly php). It MUST have a debug mode that not only tells me what part I screwed up, but also how I screwed it up (Ex. Syntax Error, then it highlights the erroneous code).

Dreamweaver does not do this, and it's hell to try to learn php and html from scratch on it.
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

One more post and you're at 4000! 8)

I use Expression Web, but ONLY because it has syntax highlighting and a direct FTP connection to my server. This does not do what you want, though... I'm not sure if there is a "scripting notepad" out there that will do what you want... I just rely on Firefox's Error Console to tell me when I did something wrong, but this is only for Javascript and HTML. For PHP, I have to figure it all out from the error messages it gives me.

Oh, by the way, check out Tizag if you're learning HTML, Javascript, PHP, MySQL, ect. It was VERY helpful to me. They have the best tutorials for scripting I've ever seen. :wink: (And you'll want to know Javascript if you're learning HTML. You'll probably want to learn MySQL if you're learning PHP as well.)
Image
Kyo
Senior Member
Posts: 2470
Joined: Tue Jan 02, 2007 11:59 am
Location: Germany

Post by Kyo »

I use notepad, and I'm sticking with it.

And well, PHP pretty much already tells you how you screwed up. But if you need any help with it, I've been doing it for years, and I can assist you, if you want me to.
ghosstt
Senior Member
Posts: 1551
Joined: Mon Feb 26, 2007 4:14 pm

Post by ghosstt »

Notepad+
?
Electric Rain
Senior Member
Posts: 1911
Joined: Tue Mar 29, 2005 12:39 pm
PSN Username: Denki_no_Ame
Location: What's it to you? Stalker...

Post by Electric Rain »

I love Programmer's Notepad. Maybe check that one out? I've GOT to have syntax highlighting... that's why I don't just use Notepad.

Edit: CONGRATS TO KURT ON HIS 4000TH POST! :D
Image
Edutainment
Posts: 423
Joined: Tue Feb 20, 2007 8:33 pm
Location: Ontario, Canada

Post by Edutainment »

I use SciTE. It has syntax highlighting for a lot of languages,a nd more can be added. For PHP/HTML I just discovered the extension Webdeveloper for Firefox today. It seems good. You can edit the HTML on a website and it'll update as you type.
lifeisbetterwithketchup
Senior Member
Posts: 2180
Joined: Fri Jul 21, 2006 12:08 pm
Steam ID: lifeisbetterwithketchup
Location: Illinois. Whee.

Post by lifeisbetterwithketchup »

Edutainment wrote:For PHP/HTML I just discovered the extension Webdeveloper for Firefox today. It seems good. You can edit the HTML on a website and it'll update as you type.
Webdeveloper is an awesome extention. Thanks for pointing it out!
Rekarp wrote:
mako321 wrote:What makes you head ninja, anyways? :wink:
Cause I am Abe F#!@ing Lincoln. :mrgreen:
Sharp Sapphire
Portablizer
Posts: 415
Joined: Fri Feb 22, 2008 9:40 pm

Post by Sharp Sapphire »

To find errors in PHP code:

Load the webpage.
Read.



If you need any PHP/HTML help, feel free to PM me, I have plenty of experience. 8)
Things I need to purchase for my NES Laptop:
1X PSone screen
6X 1.2v 3500mAh sub-C's
1X 1/8'' to RCA stereo Adapater
1X Radioshack repair kit

..yeaaaaah...
Kyo
Senior Member
Posts: 2470
Joined: Tue Jan 02, 2007 11:59 am
Location: Germany

Post by Kyo »

Sharp Sapphire wrote:To find errors in PHP code:

Load the webpage.
Read.



If you need any PHP/HTML help, feel free to PM me, I have plenty of experience. 8)
I guess that means it's time for a virtual-php-knowledge-penis-size-comparison-contest!

But seriously, I don't understand what's so hard about just looking at the line PHP gives you, notepad has a GOTO feature (if you have auto line breaking disabled, that is), so you're good to go.

Plus you got us as help.
bicostp
Moderator
Posts: 10491
Joined: Mon Mar 07, 2005 5:47 pm
Steam ID: bicostp
Location: Spamalot
Contact:

Post by bicostp »

I like Notepad++. It's got tabbed documents, syntax highlighting, line numbers, can open a couple documents side by side, and you can collapse entire sections of the document so they're out of your way (for example, everything in between a pair of DIV tags can be hidden).

It's become an indispensable part of my digital tool arsenal.

http://notepad-plus.sourceforge.net

As for debugging, open the document with a browser and see what happens. You might have to either install PHP on your computer, or run a virtual machine with a server OS on it. (Just for simplicity's sake, I use another copy of XP running XAMPP. Any version of Windows on Virtual PC is the best way to go, because you can install the Virtual Machine Additions. They make mousing between the virtual and host OS seamless, and you can drag and drop files between the two.)
Post Reply