Hi, I am new to PHP just learn it within 30min anyway I want to know how I can use php to display text on a webpage. So if a textbox is empty it will recall that page and display a text next to it saying the it needs to be filled in.

if ($name=="") {
echo "Its Empty";
}

if i use that it will show a blank page with "Its Empty" but I don't want a blank page I want the original page to be recalled and a text in red displayed next to the textbox.

any ideas? Thanks in Advance! (^^)