Thread: MySQL error...
View Single Post
Old April 15th, 2005, 03:27 PM   #3 (permalink)
Rich Z
Member
Verified Customer
 
Join Date: Jul 2004
Posts: 105
Quote:
Originally Posted by omegatron
Whats your line 346-347 of adm-inc.php look like?

I have this which means slash is added to the name if an apostroshe is used

$username = addslashes($User['username']);
$query = "REPLACE INTO {$Globals['pp_db_prefix']}admlog (adminuser,ip,datestamp,description) VALUES ('$username','$ipaddr','$date','$what')";
Here's what I have:
Quote:
$username = addslashes($User['username']);
$query = "REPLACE INTO {$Globals['pp_db_prefix']}admlog (adminuser,ip,datestamp,description) VALUES ('$username','$ipaddr','$date','$what')";
I cut and pasted it from my site. Looks the same to me....
Rich Z is offline   Reply With Quote