hii

i am developing a login module in php
in this i have 2 page 1.logiform(design) 2.loginaction(coding) and whenever user input wrond data i redirected to it same loginform i want to echo user that he visited loginaction but u failed the message should be print on same loginform only

In general you:

  1. check for existence of any input (in $_GET or $_POST)
  2. clean existing input
  3. display it in the corresponding form fields

For detailed answer you should post your existing code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.