Jump to content

[SOLVED] echo prob


mforan

Recommended Posts

i guess this does it:

 

<?php echo $recruit[$i][1] . ' ('; echo $recruit[$i][15] . ')'; ?>

 

but that is 2 echos lmao. surely it can be done in just 1? hmm i dunno.

 

it uses this:

$result = mysql_query($query) or die("Error: ".mysql_error());
$recruit = array();
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {$recruit[] = $row;}
for ($i = $start; $i < $finish; $i++) {

Link to comment
https://forums.phpfreaks.com/topic/139374-solved-echo-prob/#findComment-728981
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.