$items = "word1 word2 word3 word4";
$items = explode(" ", $items);
$items is my array, how can I have it turn into this
Like how can I make word1 be a key and a value?
"word1" => "word1"
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
$newArray =array_combine($items, $items);