Jump to content

[SOLVED] echo on top of the page


hakmir

Recommended Posts

Hi guys,

 

I want to echo this code

 if(($countryfiled=="please select")||($visatype=="please select")) {
    
    	$notice="<h3>PLEASE DO NOT LEAVE COUNTRY OR VISA TYPE EMPTY</h3>";
    	echo "<FONT color='red'>$notice</font>";
    }

at top of the page. Now it is echoing at the bottom. I don't want it to echo at the bottom of the page. Because visitor may not see it and think that their form is successfully submitted. But I don't know how to echo it on top of the page. Action is SELF.

 

Thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/131810-solved-echo-on-top-of-the-page/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.