Jump to content

[SOLVED] Array


Cooper94

Recommended Posts

One more thing please:

<?php 
require_once("VatsimPHPgenerator.php"); 
$VatsimPHP=new VatsimPHP; 
$clientlist=$VatsimPHP->pilots(); 
?> 
<TABLE width="80%"> 
<TR> 
<TD><B></B></TD> 
<TD><B></B></TD> 
<TD><B></B></TD> 
</TR> 
<?php 
          
        echo "<TR>"; 
        echo "<TD>".$clientlist[0]."</TD>"; 
        echo "<TD>".$clientlist[11]." -</TD>"; 
        echo "<TD>".$clientlist[13]."</TD>"; 
        echo "</TR>"; 

?> 
</table>

 

See that grabs everyone from $clientlist but how can I make it select the data... Like say I want it to select that data from only one person? I know I cant do a Select from code so what other options may I have?

 

Thank You

Link to comment
https://forums.phpfreaks.com/topic/155697-solved-array/#findComment-819660
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.