Ok, here is my issue. I'm wrecking my brain trying to figure out how I can make an easy script build an advertisement package for my users without have 400 lines of different options in coding. Of course using paypal. Since I can only send one custom variable to paypal for example (3411) as the variable.
I would want to make my script say if $custom = '3411' then this advertisement will run for 3 months with 4 images yes featured and 1 banner. (Of course as an example).
Is there a way to break the (3411) apart and do a loop statement to shorten a ton of coding since I want to offer the following:
Months
1 month
3 months
6 months
1 year
Images:
1 image
2 images
3 images
4 images
Featured
1 = yes
0 = no
Banner
1 = yes
0 = no
So basically when I get this certain $custom(3411) variable posting back to my site and can put together a package to show what exactly the user purchased for example if I get the (3411)
Your advertisement package consists of the following: 3 month subscription, 4 images, featured listing and 1 banner advertisement.
I HOPE THIS MAKES SENSE. THANKS TO ALL IN ADVANCE ON ANY ADVICE FOR ME.