This is a very basic question but since I am new to php I am looking for some help on this
If i have a text string "Saab and Volvo are Swedish cars."
I would like each word in it stored in an array car as as such,
$cars[0]="Saab";
$cars[1]="and";
$cars[2]="volvo";
$cars[3]="are";
$cars[4]="swedish";
$cars[5]="cars";
$cars[6]=".";
How do i achieve this thank you