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

Output Buffering question
Hi all,

I've been trying to wrap my head around output buffering. So far I've found tons of

Best PHP Documentation generator
Hello guys!

I would like to hear from you what is the best PHP documentation generator. Perso

Problems with strings containing
Hey all,

I have encountered something strange in a script. I am trying to write an XML heade

Receive Rosettanet Message to SAP 4.6c
Dear all ,

My customer will send the PO details by rosettanet message , Is it

php forms and database navigatio
Hello,
I'm new to php and i'd like to post the following.
I have written code to get records f

Parse Error with doctype
I'm getting a parse error with this simple code. I don't get it. It worked one time then when I relo

Help with page encoding issue and weird characters
I'm trying to write a screen scraper and when I pull out the lines of the html file that I'm interes

how to use two buttons with php
hi i have one form. there are three fields which are to be filled by the user. and then there are tw

LinkedList help
Ok so I just learned quickly about lists, so I have a not too hard project I think, but am having a

restricting another login once you logout
Hello,

how can I restrict a page from login authenticating against info in a MySQL DB for a s

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