Jump to content

PHP Login Issues


VicHost

Recommended Posts

The mysql md5() function is not quoted as that would make it string data, not a function. However the string parameter it accepts is quoted -

$query = "SELECT * FROM users WHERE username = '$username' AND password = MD5('$password')";

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.