After a significant amount of time and head scratching, i solved the following problem with some PHP code. Read on if you like.
Whoever is first to spot the error of my (or rather someone else's) ways can have a beer!
I'm trying to use a bit of php unashamedly chaffed from a chap called Tim.
The script references a file which stores a recent list of itunes songs (in kungtunes.php) and he suggests two different snippets of code to embed either this list in a page or only the most recently played. The second snippet which embeds the most recent song works fine, as shown in the bottom of the sidebar on the left. The second one (which lists them all) however produces a php parse error ("unexpected '\' at line 511" or whatever). The php code is shown on the link above, towards the end.
As i say there's a beer in it!
{edit} not any more there isn't! {/edit}
Posted by jonah at September 3, 2003 09:55 PM | TrackBackSOLVED!
Two of the lines had 'invisible' characters instead of whitespace.
Cheers to scooter boi for his suggestions!
Posted by: Jonah at September 3, 2003 10:53 PM