Thank You.
You guys are Jets. Worked like a charm.
Just wonder if I could push the friendship that one more step. It was mentioned about "cleaning the values" prior to output. What method would you recommend?
I run the input through sanitize_text_field and a check input function:
function check_input($data, $problem='')
{
$data = strip_tags($data);
$data = trim($data);
$data = stripslashes($data);
$data = htmlspecialchars($data);
if ($problem && strlen($data) == 0)
{
die($problem);
}
but unsure what is the best method for output.
Thanks Heaps
Warwick