MySQL query problem
#1

Код:
	mysql_format(SQL, str, 128,"UPDATE `bans` SET `ip`='0' WHERE `ip`='%s' LIMIT 1",ip);
	mysql_tquery(SQL, str, " ", " ");
Quote:

callback parameter count does not match format specifier length

What is wrong here? When I execute this query in phpmyadmin / Navicat is correct..
Reply
#2

Use "", "", not " ", " ".
Reply
#3

Solved, thankies
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)