Jump to content

slightly complex (for some) Form Posting, Implode, Explode issues...


glennn.php

Recommended Posts

wow, where do i start...

 

http://thecodedepot.com/HFPjobs1/post.php - posting checkbox arrays (Specialty, Subspec. and Region) to the database is not a problem. the script implodes() the values attached to each checkbox into something like "1 5 9 10 11" and writes to one field, then explodes() these values back to their given Names based on a table in the db: db.categories.id('#') and db.categories.name('Name') ...

 

the problem is, all this work is done by several functions in a remote file - i also need to take the array and simply echo each value as its name in the Preview page - getting the single Posted values to another page isn't a problem, but i'm having trouble getting the checkboxes selected echoed in a second page. need your help.

 

keep in mind that these values are stored in tables as .id and .name fields, so i can call them from the db according to the form checkboxes selected (i figure i kinda have to since the values of the checkboxes are "1", "2" etc...). perhaps not, this is over my head.

 

could someone kindly show me what i can do to achieve this, or tell me i'm not making any sense...?

 

Many Thanks

GN

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.