php - How to interact id of each other of two select box on submit -


i have minimum of 2 select box in html form insert through post user can add more select boxes. have show relations between each n every inserted id.

enter image description here

like have inserted 1,4,9,6 id. want inserted in table in 2 column as:

(1-4) (1-9) (1-6) (4-9) (4-6) (9-6) 

$text = $_post['text'];  $textname = explode(",", $text);  if ($textname > 0) {     ($i = 0; $i < count($textname); $i++) {         "piece $i = $textname[$i] <br />";         ..... insert query.... 

i'm getting post values in piece $i...how insert in array in code


Comments

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -