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
https://forums.phpfreaks.com/topic/83854-sufficient-programming/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.