i want save a value to the db by pressing a link or button without reload or open a new window i have see the ajax returning data without refreshing the page but save a value...
any one know a way to save a value using ajax? i using php
thanks a lot for your help
i dont have any code so far.
what i want to do this is:
iŽdeveloping a site for ads and i want that any user can click in the ad to add/remove the ad to the favorit list the ads id will be stored in the db with the user id.
my objective is performe this
operation( add/remove the id) in real time without reload the page or without any frame/iframes may be the other way to this is with cookies but so far i do like to learn how can i do this with ajax or a similiar way and them do with cookies too, thanks for your attention
you can keep adding id's and php will get the variables passed onto it via ajax, maybe send something back via a iframe that was refreshed, you could then pull the data from that hidden iframe and apply it to your page.
eh? im new, that the best i could come up with. I'd say iframe's is the only way, but make it hidden from user's view.