Display error above the login forum help!


Posted on 16th Feb 2014 07:03 pm by admin

Hi guys. just so you know im not asking for someone to do this for me I just need to be pointed in the right direction...

here is my problem. I have index.php in that file i have included login.php witch has the php and the html to produce the login form and the php to cheak the database. now what i want... How can i produce errors like username doesnot exist or password incorect stuff like that but I want that to be on the index.php page with out it going to a new page and displaying wrong username/password.

Did you know?Explore Trending and Topic pages for more stories like this.
I just need to know what to look for so i can google it and do my own research as to how this works
No comments posted yet

Your Answer:

Login to answer
253 Like 14 Dislike
Previous forums Next forums
Other forums

Different payment methods with different cross company requirements in F110
We are implementing SAP in a company in the shipping industry. They have the following requirement:<

Problem executing bash script using shell_exec
Hi there,
I created a bash script file using following code to convert doc documents to pdf using

Include ("Absolute Path") of a file?
I'm not sure what I'm doing wrong. I am writing my php code in the same directory of the file that

Adding post count
How would I make it so everytime someone clicks submit on my form, their row in the database for the

FTP Programs
Here is a list of commonly suggested FTP Programs to use:

FileZilla
SmartFTP
CuteFTP

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

Javascript using window.location seems to lose state
Not sure what forum so let me know if I'm in the wrong place. I have a main window with a ajax grid

Coding Critique
I was hoping someone could take a second and look down my code and see if they see any problems with

PEAR in appliactiond development
When I was picking up PHP I went from procedural programming, fairly quickly into OOP, then after wr

Curly Bracket Delimeters.
I'd always believed that the starting and ending delimeters in preg_ functions had to be the same ch

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash