I have a form in which a user selects options for a product and based on their input, a model number is produced. However, they may enter multiple options that would create multiple model numbers. I have created an 'Or' & 'And' (not || and &&) fields for option input and it is suppose to work something like this: (the numbers represent the option numbers selected)
$orOptions = array(1, 3, 5);
$andOptions = array(2, 4);
The output would produce model numbers:(inputted number on end of base number)
xx-1
xx-12
xx-14
xx-124
xx-3
xx-23
xx-34
xx-234
xx-5
xx-25
xx-45
xx-245
My problem is, I am not familar enough with programming logic and php syntax to have my script extract this data and format as needed. Any tips or samples would be so appreciated.
Thanks,
not sure how to ...
Moderator: General Moderators
-
matthiasone
- Forum Contributor
- Posts: 117
- Joined: Mon Jul 22, 2002 12:14 pm
- Location: Texas, USA
- Contact: