>-----Ursprüngliche Nachricht----- >Von: AndrewJames [mailto:andrewhu...@gmail.com] >Gesendet: Montag, 7. September 2009 13:37 >An: Skoric, Majk >Betreff: Re: AW: mysql_real_escape_string()
Dont forget to put the list in! >hmmm, my mysql_real... function call is below my db connection, so there >should be a $conn allready. It works perfectly if do not >mysql_real_escape_string(), but wont log me in if i do.. > >i get this >Warning: mysql_real_escape_string() [function.mysql-real-escape-string]: >Access denied for user 'ODBC'@'localhost' (using password: NO) $link = mysql_connect('....'); ... mysql_real_escape_string($foo, $link); function mysql_... takes a link as 2nd parameter. Use it then! Majk -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=arch...@jab.org