turn array values into keys in another array in php?

Posted by user151841 on Stack Overflow See other posts from Stack Overflow or by user151841
Published on 2010-04-23T15:19:18Z Indexed on 2010/04/23 15:23 UTC
Read the original article Hit count: 140

Filed under:
|

I have an array of field names. I would like to use those to populate the keys of another array, which will have empty values as default. Is there a single command I can do this with?

© Stack Overflow or respective owner

Related posts about php

Related posts about arrays