Hi I have a form that is being processed and validated through PHP, what I would like to do is when a message has successfully being sent have a lighbox with a dialog message that reads "Message sent".

here is the last part of my php, so if all is true this will happen:
function ProcessForm($values)
mail('tomail@mail.com', $values['subject'], $values['comment'], "From: \"{$values['name']}\" <{$values['email']}>");

echo "Message sent"} //this echo's out on a blank page

Thanks for ur help