Hi all!
I am trying to insert multiple arrays values into a MySQL table. All I can manage is to echo in the browser.
I have the following arrays:
$array1 [0] = "Arsenal";
$array1 [1] = "Barcelona";
$array1 [2] = "Bayern";
$array2 [0] = "England Premier League";
$array2 [1] = "Spain Premiera Division";
$array2 [2] = "Germany Bundesliga";
What code should I write to send them to my MySQL database?
Table: teams;
Column 1: team;
Column 2: league.
For 2 days I am trying to figure it out and I give up. PLEASE HELP!!!