Forums

Return Arreys

alex305v 26 Sep, 2020
Using ChronoConnectivity v5

I have a code on CCv5 that only displays data for one user based on the username:

<?php
return array ('stuusername' => $this->data['stuusername']);
?>


The thing is now I also to sort based on a type of category so I tried adding:

<?php
return array ('stuusername' => $this->data['stuusername']);
and
('button11' => $this->data['Practice']);
?>


but that doesn't do anything.

I dont know much about PHP or any of that but can someone tell me how to run both codes and it work?

thank you
You need to login to be able to post a reply.