Page 1 of 1

mySQL query's

Posted: Mon Oct 29, 2007 9:25 am
by psychotomus
is this 1 query or 5?

Code: Select all

//create arcade cats
mysql_query("INSERT INTO `arcade_cats` (`forum_name`, `name`, `desc1`, `icon`, `last_game`, `last_player`, `total_played`, `last_played`) VALUES 
('$forum_name', 'Action', 'Action Games', 'action.jpg', '', '', 0, 0),
('$forum_name', 'Driving', 'Driving Games', 'driving.gif', '', '', 0, 0),
('$forum_name', 'Puzzles', 'Puzzle Games.', 'puzzles.jpg', '', '', 0, 0),
('$forum_name', 'Shooting', 'Shooting Games.', 'shooting.gif', '', '', 0, 0),
('$forum_name', 'Sports', 'Sports Games.', 'sports.jpg', '', '', 0, 0)") or die(mysql_error());

Posted: Mon Oct 29, 2007 9:29 am
by feyd
One extended insert.