I really don't understand want I suppose to do with oop5. Do I need to change the data in my user_friends table or am I suppose to use an If else to force the relationships between user_id and friend_id.
I'm getting confused with regard to oop5 question I don't know whether we still using select form or come up with new version of accomplishing
this question. It seems as they used for loop or ... eish I really dont get it
Mac please give us a glue
Registered: 14 years ago
In oop 4 you used the user_id to indicate who is a friend. Now you need to use first & last name. That implies that you first need to draw the user_id and then find the relevant first & last name from a different table.If you use and if/else that means you will have to add an if/else statement to every new person added to the database. And that is not very efficient....the code must handle it.
I've problem with opening txt file on new window. I've passed code for that and it's opening on new window but
problem is not opening s text file. It still display my php variables
This thing started from assigment I tried so many times I even went to fellow students who managed to get it
right and they did try but never get right.I even thoght of operating system but I'm not sure wheter OS affect php
By correcting oop5, the oop4 has changed to 5,1 as friend ID in the output, and if I change so that by selecting Elvis, 2,5 IDs be displayed, the oop5 will not be
as in the screenshots for oop4.php and oop5.php are using the same user.php code of class.
Am I correct or some thing is going wrong?