Jump to content

Have Echo on the Same Page Without PHP_SELF?


chaseman

Recommended Posts

I successfully build a form, and I have a few echo's which will echo out error messages when an input box is left empty.

 

The echo messages used to be on the same page while I was using PHP_SELF, now that I've separated the script from the form it will now be shown on a new empty page and the user has to use the browser's navigators to navigate back. I'd still like to keep my script from the form separated for read-ability reasons, but I'd also like to have the echo messages outputted on the same page as the form.

 

How can I do that?

 

I'm a newbie, so excuse this basic question.

 

 

P.S.

If somebody can give me a tip how to position the echo messages in the design, I'd appreciate it a lot, because it sometimes messes up the design.

Thanks for the tip, I'll look into that, if you had the same problem when starting out, do you eventually know the answer to my problem? Or do you know in which one of those videos I may find my answer.

 

I tried googling a lot but couldn't find anything.

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.