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.

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

preg_match logical error
Code: <?php
$s = file_get_contents("page.html");
preg_match('/<div cla

Share admin accross websites
I'm using .net memberships and roles in one of my sites, but I need to be able to share logins and p

question about header() security
is is safe to just use the header() function to redirect someone if they are, say, not logged in? or

Echo-ing MySQL content and Keep Formatting?
I have data in my MySQL such as:

QuoteBlah blah

Blah blah

etc
but when i ech

array & querys help/advice.
Ok so here goes , I have a mysql database and basically here's what I need to do.

// foreach

PHP, jAVASCRIPT setting input values, why isn't it working?
Hi:

I am calling this javascript:
<script language="javascript">

If a form submits back to same page do you need to use $get
IM trying to pass page number and year that was selected back to the same page.

i have this c

Filling gaps in dates
So i'm doing a query for sales data and my return array looks like this

('date' => '20

Help with email validation please...
Hi,
Please could you help.
I have a register.php login page where users register, the detail

How to find OS bit version
How can I tell the person browsing my site is running 32, or 64 bit operating system?

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