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

Not adding to db
Hi, I can't figure out why it won't add the record to the database. It's just a simple form to get

Turning Data into URLs?
This may seem very basic to you, but I'm having a hard time figuring out how to do this since I don'

Linkage between two scripts
Okay say I have this for a link in a script:

Code: <li><a href="#&q

Alternate messaging
I have 4 strings in MySQL db1

$string1 : Hello
$string2 : Hi
$string3 : Great
$strin

is_dir() problem
Hello,

I'm buidling a php scripts that dynamically get's subfolders from a specific folder.

Php mysql - select?
Hi i have this code:
Code: $iteminfo = mysql_query("SELECT desc FROM wc_items WHERE itemid =

Get last modified date of web page
Hai All,

In php how can i get last modified date of a give web page . I have tried to g

PHP Array quick help
I need

$_SESSION{'username'} to be like this:


if $_SESSION['username'] = "gay

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

Passing vars to the DB
I have 3 small testing tables:

ID TYPE
1 pepperoni
2 C. bacon
3 taco

ID TY

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