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

OPINIONS WANTED
This is my login page code, and I want your opinion on it please!

Code: // Login ~ CHECKS

unexpected T_STRING
error log "[Sat Jan 09 18:27:58 2010] [error] [client 127.0.0.1] PHP Parse error: syntax error

array_combine() error
getting an "Warning: array_combine() [function.array-combine]: Both parameters should have an e

Securing a user input - need some confirmation
Hello All,

I am in the process of recoding a large proportion of an e-commerce site, one of t

Multidimensional $_POST
Hello

How to get a single array from array of array (2 - dimension).
For example I have a

Replacing a string on click of a button
Hi! Is there a way to replace a string on a click of a text link?

This is what I've come up w

Multi language - seo links
Im trying to figure out the best method to have a multi language website that will function with seo

check comment for html
hi, I just wanted to check if a comment a user posts contains HTML, and if it does, to not allow it

getting rid of quotes in strings
sick of trying to deal with them in multiple ways (entering in and taking from database, echoing, ec

Form always sends to error page...
Hello,
Any help will be greatly appreciated. I am having trouble getting multiple fields to be re

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