I got the code from here:
http://www.phpbuilder.com/snippet/detail.php?type=snippet&id=4
but I can't work out how use the code. Could you please give me some helpful pointers?
thank you
Please post an error. What you have posted would require me to install and run on my system? If it runs on my machine all I can tell you is it runs. So give us some errors and the install steps you have taken.
cheers for the reply jnuneznyc. what i get when i run the code is a blank page. what i have done with the code is that i saved the file and put it on my server. i hope you can help