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.090 seconds
Je suis vraiment impressionné par la puissance de COOK et encore plus admiratif de ton travail. A ce jour je crois que c'est ce que j'ai vu de plus abouti dans le domaine de la conception d'extension pour Joomla!
felichon (Forum)  

Get Started