nickinthooz
asked on
Problems inserting in to database
$pass = base64_encode($entries[1]);
$sql = "INSERT INTO project_domain_list (domain,username,password) VALUES ($entries[0], $pass, $entries[2])";
mysql_select_db('inthzcom_intranet');
$retval = mysql_query( $sql, $conn );
excerpt from my code, anyway, I'm getting this error:
Could not enter data: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' P~F!~R]?tp)' at line 1
I'm inserting passwords in to the database. Help?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.