Will be needing some backend tasks done . -- 2 - 09/11/2017 21:03 EST

Going through testing process and there are some issues that need fixed.

Familiar with Yii2 will be helpful

PHP and Bootstrap


I know not too many read these requirements before bidding and it makes for a prolonged process so this time I'm giving a skills test. I'll talk to the people that get it right.

The following code ...as it is will call up some of users friends.

If I switch the user_one_id and user_two_id around then the code will call up the rest of the users friends.

How would you make this bit of code work to call up all friends

Keep in mind that the code works perfectly both ways but each way only calls some friends

public static function getFriendsID()


$friends_id = [];

$friends = Friends::find()->where('user_one_id =:user_id', [':user_id' => Yii::$app->user->id])->asArray()->all();

if (!empty($friends)) {

foreach ($friends as $friend) {

$friends_id[] = (int)$friend['user_two_id'];



return $friends_id;


Kemahiran: MySQL, PHP, Yii

Lihat lagi: Get Data Entry Done - 09/03/2017 23:54 EST, Get a Website Built - 01/02/2017 04:48 EST, Get a Website Built - 17/01/2017 02:14 EST, Modify .net/c# solution deployed to AZURE with SQL - 06/01/2017 15:47 EST, *WILL PICK WINNER IN 2 HOURS, Copy paste Data - 17/11/2016 08:17 EST, I would like to hire a Copy Typer - 07/11/2016 12:17 EST, Paypal api adaptive payments cart - 06/11/2016 18:41 EST, I will need to design 2 pages, download, I will need to design 2 pages, download the brief for more information, I will need to design 2 pages, ielts writing tasks 2, employees will able perform tasks checking, make form work backend, will needing copy

Tentang Majikan:
( 13 ulasan ) Fort St John, Canada

ID Projek: #15604576

2 pekerja bebas membida secara purata $15/jam untuk pekerjaan ini


Hello, and thanks for the opportunity to bid on your project. https://www.freelancer.com/u/TenStar718.html I am an expert in many different area’s of web and mobile applications based on the following languages: W Lagi

$21 CAD / jam
(193 Ulasan)

Hello, I would be glad to associate with you & would like to work with you as ongoing basis.. I am team player & can deliver your all project with in your time limits with high quality. I have read your all requi Lagi

$8 CAD / jam
(0 Ulasan)