plz give me solution

Discussion in 'PHP' started by suridnerpal, Nov 23, 2009.

  1. #1
    plz help me, for following problem.

    The temporary URL for the website is http://abc.com.
    If you login and on the User Menu select Edit Your Profile Details and click on the profile tab, you will see the two fields I refer to below.
    This is what we need: The basic concept is to match members who offer certain services with members who require those services.
    1. CB Custom Field "What I Need From the Network" (cb_needfromnetwork)
    a. checkbox with 24 options
    b. not required
    c. not available at registration - member completes after registriation is complete
    2. CB Custom Field "What I Can Offer the Network" (cb_canoffernetwork)
    a. has same 24 options as cb_needfromnetwork
    3. Action: Whenever a member updates their cb_needfromnetwork options, an email would be sent to all members who offer that service in their cb_needfromnetwork options. We would like notification only for checkboxes that are newly checked, not unchecked.
     
    suridnerpal, Nov 23, 2009 IP
  2. mastermunj

    mastermunj Well-Known Member

    Messages:
    687
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Store array of initial status of checkboxes while loading the form and On submit after user checks / unchecks the 24 options, write a function which will read all the checked boxes and compare it with it's initial status.

    If initial status was unchecked, then send mail to all those who offer that particular service.
     
    mastermunj, Nov 23, 2009 IP