05.01.2016, 17:49
Quote:
The extra id column is not really necessary. The row can be uniquely identified by the two userids.
If you want to display the current friends with their name then you should probably use a join. The above approach may be viable if or when prepared queries are added to the MySQL plugin, but for now it's probably too intensive on the server. The query should look somewhat like this: PHP код:
|
If you look all IDs correct, it was not the problem, improvise I mean directly into a table name and you have but the problem is that only show the first id by showing 0 at all, but still check them, they look 0 depending how many are in the table on that userid.