KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have an array: array( 0 => 'contact', 1 => 'home', 2 => 'projects' ); and I need to swap the 'contact' with 'home', so the array would be like: array( 0 => 'home', 1 => 'contact', 2 => 'projects' ); How can I do this with PHP?
Tags (comma-separated)
Save Edits
Cancel