Jump to content

need help in submitting array and non-array result


pixeltrace

Recommended Posts

hi,

 

i need help,

currently i have a code and it only submit results in array

 

if(isset($_GET['poitype']) and count($_GET['poitype']) > 0) $poitype = implode(",", $_GET['poitype']); else $poitype = '';

 

how do i modify this code so that i can also submit a non-array value?

because i submit this same variable on two different function

1 . using checkboxes, the name of my checkbox is poitype[]

 

2. using list menu, the name of my list  menu is poitype

 

hope you could help me fix this.

 

thanks!

 

 

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.