PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
tags where approriate when posting code. Read: [url=http://forums.devnetwork.net/viewtopic.php?t=21171]Posting Code in the Forums[/url][/color]
sorry to put all this code here but i want to show what i am trying to do.
The strlower() function will convert the string to lower case so that all-caps and mixed case is not an issue and then ucwords() should work better.
You need an opening brace after your while loop ({).
The echo <<<END ... END; statement means that your HTML formatting will be preserved and you don't have to worry about escaping quotes or other special characters. IIRC single quotes are not valid in HTML.