How to make an array element the first entry in PHP?

beatmonsta

New Member
\[code\]$arr = explode(',', $str);$arr[0] = 'Please select value';\[/code\]The above makes key 0 the last element ,how to make it first except sort the \[code\]$arr\[/code\] ?
 
Back
Top