Jump to content

Sufficient Programming


yweinba

Recommended Posts

Hello,

 

I have a dating system (PHP/MySQL based) where a user can broswe thorugh search results of people, and then view their personal pages.

 

The database has 2 tables - one with all the peoples' details (which is what will be on their personal pages), and another table that saves details on each users about their use of the program - their last search, their IP etc.

 

I want to add an option that if a user enetered a person's profile, it will show him on the search result that he had already seen his profile.

 

What will be the best way to implement it? I thought about an array and then checking each person on the search results to see if he is in the array, but that would probably take too much time.

 

Joel

Link to comment
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.