Jump to content

Recommended Posts

Hi All

I have written a form to capture a members details. This updates the members details. On the form is a list of checkboxes that lists the various interests. The interests updates another table in the form of the memberID and the interest/s that they selected. When I want to edit the form I need to pull the info from the tables. The first table is fine but I am stuck with the one with the interests. The data is displayed as such

1 reading

1 football

 

The number 1 is the client number, but the interests will differ from member to member.

I would like to pull the interests and use this info to check the checkbox if that interest was previously selected.

Is this done with arrays, and if so could someone please point me in the right direction

 

Regards

 

Lional

Link to comment
https://forums.phpfreaks.com/topic/85018-php-mysql/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.