0

I'm little struggle and figure it out how to make this work. I do not want two droplist but I want one only. Please help! :(

As droplist option - alot of same account name but different id. How can I make this droplist option to make this URL (result_lot.php?id=72&account=13DH) instead this (result_lot.php?id=&account=72|13DH) since it is working perfect by type URL link in.

In header - result_lot.php?id=".$_POST['id']."&account=".$lot);

In option code - echo "<option value='". $data['id'] . '|'. $data['account'] ."'>". $data['id'] . '|'. $data['account'] ."";

  • https://stackoverflow.com/questions/8027163/how-to-post-two-values-in-an-option-field found it ^^^ perfect example. – midnight2024 Oct 06 '22 at 04:38

0 Answers0