![]() |
It sounds as though you aren't escaping certain value(s) in your sql statement. Are you using mysql_escape_string() on your variables before you use them in your statement?
|
No? The source to the script I am using is located in the first post in this thread, I quoted it below.
Quote:
|
AFAIK your problem is to do with your SQL statement. Your script above tells me nothing that will explain your SQL errors.
|
You asked if I was using mysql_escape_string()... which would be in the source if I was, right?
|
Where are your SQL errors generated from? You're giving me half the story - I haven't a clue what's happening in the "rest" of your script. The above script generated a password hash with salt. It has does nothing to do with your database. Your SQL errors are coming from somewhere...
|
Quote:
PHP Code:
|
Since you have a connection to your database, you can use mysql_real_escape_string() (which you should use anyway). This should solve your problem:
PHP Code:
|
Let me try this, just a second.
Ah! It worked! Thank you SO MUCH. |
All times are GMT. The time now is 09:32 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|