How to compare the Data User profile?

wlgkmooeoq

New Member
I have problem with how to compare two field data and deliver value / point.algorithm like this:1.there are 3 users2.with data profile user, the database:user_id | name | Language\[code\]1 heru Indonesia2 sinta Indonesia3 bona English\[/code\]3.Then, in comparison.user_id=1 with user_id=2 and user_id=3if the field "language" between user_id=1 and user_id=2 have the same string then user_id=1 get value / point 1and if the "language" between user_id=1 and user_id=3 are not the same then user_id=1 get value / point 04.data comparison result is stored in the database / table.Can anyone help how to script?thanks
 
Top