From 351b1733353274f7f4f00f42baeafbeb78c86f54 Mon Sep 17 00:00:00 2001 From: Mattia Mascarello Date: Fri, 5 Aug 2022 00:17:35 +0200 Subject: [PATCH] Delete mytable.php --- src/mytable.php | 79 ------------------------------------------------- 1 file changed, 79 deletions(-) delete mode 100644 src/mytable.php diff --git a/src/mytable.php b/src/mytable.php deleted file mode 100644 index bfc4a15..0000000 --- a/src/mytable.php +++ /dev/null @@ -1,79 +0,0 @@ - - 'people' - ]); - $table=[]; - $i=0; - foreach($people->findAll() as $element){ - $el=$element->toArray(); - $el["id"]=$element->getId(); - $el["num"]=$i+1; - foreach($el as $key=>$val){ - $table[$key][$i]=$val; - } - $i++; - } -$tot=0; -?> - - - -"Nome su Telegram","username"=>"Username su Telegram","birthDate"=>"Data di nascita","name"=>"Nome","yearsOld"=>"Età","gender"=>"Genere","orient"=>"Orientamento","where"=>"Viene da","pvtNotice"=>"Avviso sui messaggi privati","bio"=>"Bio","rel"=>"Relazioni"]; - $skip=[]; - $in=0; -foreach(array_keys($table) as $i){ - if(!in_array($i,array_keys($ka))){ - $skip[]=$in; - $in++; - continue; - } - $in++; - echo ""; - if(count($table[$i])>$tot){ - $tot=count($table[$i]); - } -} -?> - -
".$ka[$i]."