Hi every one i m new at this forum and this one is my first post, i hope i will get my answer
My question is that, i want to change the advertisement on my webpage on the basis of value in the list box, my list box contains names of city i want to display the advertisements of particular city on that page,please help me thanx in advance.
nowhere near enough information.
how are the ads rendered? by you or an external source? is there a finite amount? do you have access to their file paths?
maybe a link to your page would be best
thanx for reply,
this ads are created by me, i have some banner ads, on each page i want to display 7-10 ads.
you can make an object with the keys corresponding to the options in the select and the values being arrays holding the pathnames to your ads. Then all you need is a function that tells the code which displays your ads which array to use.
You can create mysql table for your ads and by select rule you can view what you need to view
Or you could provide some code or a link to some code so we could make a more informed suggestion.
I offer in this site some useful php code
all script are free