Jump to content

[SOLVED] query not working


peranha

Recommended Posts

// create query
$query1 = "UPDATE " . $pre . "users SET password='$passwordHash' WHERE uniqueid = '$_SESSION[uniqueid]'";

// execute query
$result = mysql_query($query) or die ("Error in query: $query. ".mysql_error());

 

I cannot see anything wrong with this, but when run, it will not update the database.

Link to comment
https://forums.phpfreaks.com/topic/84804-solved-query-not-working/
Share on other sites

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.