10-17-2008, 10:29 AM
|
#14 (permalink)
|
|
The Prestige
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
|
Use 'IGNORE' on the INSERT statement.
sql Code:
INSERT IGNORE INTO `upload` (`link`) VALUES('$url')
Should stop duplicates.
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
|
|
|
|