How to enter multiple values for a key using a comma?
-
Okay, this should be fairly simple for most of you gurus. I am making use of metaboxes and custom fields just fine. The dilemma is, how do I enter multiple values per key using a comma, semicolon, or colon…etc… and display those values separately.
Example:
Key: Grocery list
Values: Meat, Cheese, Bread, WineI would rather not have to choose “Grocery List” then type in one value, then do it all over again. I would rather choose “Grocery List” from the existing Keys and comma separate the values.
Righ now I’m using the get_post_meta function for multiple values. It sounds like a implode type function? Please, much help appreciated. Thank you.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How to enter multiple values for a key using a comma?’ is closed to new replies.