Results 1 to 4 of 4

Thread: PHP Syntax Highlighter/Editor

  1. #1
    Join Date
    Nov 2006
    Location
    Northeast USA
    Posts
    408
    Thanks
    8
    Thanked 30 Times in 28 Posts

    Default PHP Syntax Highlighter/Editor

    Hello,
    Just to say somthing first, YES I LOOKED AT NOTEPAD++, it does not support php highlighting, plus, when I try to download ANYTHING off on sourceforge, the page never loads, it's just a blank page for ever, and it's not my internet connection. So what other editors are there that support PHP Syntax highliting that is NOT on sourceforge.
    Thanks,
    -Ben -- THE DYNAMIC DRIVERS
    My Links: My DD Profile||My Youtube Video Tutorials||DD Helping Coders||DD Coders In Training
    I told my client to press F5, the client pressed F, then 5, *facepalm*

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Actually, Notepad++ does support PHP syntax highlighting; you just need to choose which language it is before it will highlight the syntax to that specification. Another one that I have used in the past is called PHP Coder.

    http://www.php-editors.com/review/php-coder.htm

    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Nov 2006
    Location
    Northeast USA
    Posts
    408
    Thanks
    8
    Thanked 30 Times in 28 Posts

    Default

    Thanks, I downloaded php-coder.
    I directed it to the php phaser, It works! One more thing, Can you add varables to the url such asthephppage.php?var1=hello&var2=world?
    Thanks,
    -Ben -- THE DYNAMIC DRIVERS
    My Links: My DD Profile||My Youtube Video Tutorials||DD Helping Coders||DD Coders In Training
    I told my client to press F5, the client pressed F, then 5, *facepalm*

  4. #4
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Do you mean like how this forum attaches a variable like so:

    If so, then yes. Simply code the page like so for any variables you want to pass through the url:

    Code:
    <?php
     $var = $_GET['var']; //extract var from the url like page.php?var=blahblah
    Hope this helps.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •