Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

Serialize and Save an Array 23 Mar 2012 03:16 #1711

  • fritz
  • fritz's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 1
  • Thank you received: 0
I've swapped out a textbox to be a multi-select list for a front end form and changed the name of the field to an array. It basically looks like this:

<select size="10" name="options[]" multiple="multiple">
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
</select>

My question is, which file and lines do I need to change in order to serialize my array so I can save it to a string field in my DB table?

Thank you.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.082 seconds

This Component Generator is the REAL component generator. This tool is very easy to use and in a matter of minutes I was building a fully working extension. I was amazed with the end result... worth every cent...
Griiettner (JED)

         

Get Started