Superwormy,
You must be a genius I used the explode() function to break up the insert statements which were separated by a semi-colon ";".The code is below incase anyboy wants to know:
$sql=explode(';',$stmt);
$i=0;
for($val=0;$i<count($sql);$i++)
{
$result=mysql_query($sql[$i]);
}
This is a portion of the sql:
$stmt="INSERT INTO radiomweb VALUES (2,'Background','rd2.jpg');INSERT INTO radiomweb VALUES (3,'Methodology','rd3.jpg');
INSERT INTO radiomweb VALUES (4,'Cost','rd4.jpg');
INSERT INTO radiomweb VALUES (5,'Stations Listened to nowadays','rd6.jpg');
INSERT INTO radiomweb VALUES (6,'Stations listened to most often','rd7.jpg');"
Thanks superwormy.
Cheers