Please provide us with some more information...... Perhaps a snip of your code that you think is the problem. It would also be helpful to know what O/S you are on, what Webserver you are using and maybe even the version of PHP that you are using.
Help us help you.... Give us more than just a plea for help.
Via Web @ http://www.mnetweb.co.uk/irc
Via IRC Client pgardner.net:6667