DEV Community

[Comment from a deleted post]
Collapse
 
hasi94 profile image
Hasitha Charaka Gangoda

change your mysql to this

$sql = "SELECT id FROM loginform WHERE User = '$uname' and Pass = '$password' LIMIT 1";

Collapse
 
silentcoderr profile image
silentCoderr

still no change yet

Collapse
 
manishfoodtechs profile image
manish srivastava

Look at this : tutorialrepublic.com/php-tutorial/...

change variables as per yours.

A good programmer should choose oop or pdo over mysqli.

 
silentcoderr profile image
silentCoderr

So I have to discard everything and start all over! Oh No!! Thanks anyways
Though if there's still any corrective assistance on the mysql, it'll be appreciated