ID:185029
 
I'm not entirely sure where I should post this but I while back I was pointed to LummoxJR's hub script so after putting it up for test on my site I checked to see what it looked like and got this:-
{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\froman\fcharset0 Times New Roman;}{\f1\fswiss\fcharset0 Arial;}} {\*\generator Msftedit 5.41.15.1503;}\viewkind4\uc1\pard\sb100\sa100\lang2057\f0\fs 24 \par
"; echo " Games Online "; echo " "; while(list($n,$lst)=each($worlds)) \{ $url='world.php?'.urlencode($lst['url']); if(!$lst['status']) $lst['status']='(No status info available)'; echo "Join ["; echo $lst['status']; echo "]

Logged in: "; echo join(" - ",$lst["users"])."
\\n"; \} echo "


"; \} ?> \par \par \pard\f1\fs20 \par }

My php knowledge may be virtually non-existant but I know I shouldn't be getting that.

NOTE: After reading some of my old posts I realize I don't explain myself very well, If you don't know what I'm asking say and i'll try to explain better
Notepad works much better than Wordpad for HTML, PHP, and other web-related things. :)
In response to Jon88
Expanding on that - you need to save as plain text. The fancier programs like Wordpad and Word will tend to scatter formatting instructions thoughout the file, which confuses the PHP interpreter. Notepad always saves as plain text anyway, which is why it's better.
In response to Crispy
Or just use DreamWeaver.
In response to InsayneWrapper
DreamWeaver works too (I use it myself), but it's much more expensive than Notepad. =) Also takes longer to start up.
In response to Crispy
Crispy wrote:
DreamWeaver works too (I use it myself), but it's much more expensive than Notepad. =) Also takes longer to start up.

Notepad++ works great too, it has syntax highlighting for various languages. Collapsable sections, numbered lines. And it's A LOT more easier on the eyes than Notepad.
In response to Papoose
I've used several different editors and I still get the same page, I even tried it with Maxituff's Frontpage Express (shudder). Haven't tried Notepad++ though - I'll give it a try
In response to TheLunarWolf
that's because your files are probably already fudged
In response to Jerico2day
i highly recommend chami.com's HTMLKit editor. contrary to it's name, it's very good for editing PHP or Perl, as well as HTML, Javascript, C/C++, and even BYOND's DM language once you set it up correctly to colorize the code. can even be used to run a compiler from within the editor. a whole mess-load of plugins are available and comes with a built-in ftp client.

i've been using it for several years quite happily - first under Windows, then under Linux (runs under Wine).

another is Eclispe - a decent Java-based programming editor that is gaining some popularity. includes plugins for PHP, Subversion, and others.
make sure its chmoded right.
In response to XzDoG
the format is shite, use php expert editor or for free use super blocknotes the whole lot will be clearer to use.
Its otherwise like learning to write using a pencil on a blackboard, its not clear and it hurts!