Jump to content

help with inserting $variable within <td> tags


webguync

Recommended Posts

I need to add the result of the variable $CallNumber with the code below

 

$count = 0;
$CallNumber = 1;

while($row = mysql_fetch_array($query))
{
    $currentID = $row['employee_id'];

    if($count == 0 || $currentID != $previousID)
        $CallNumber = 1;
    else
        $CallNumber++;
    
    echo 'the crazy number that starts over is: ' . $currentID;
    
    $previousID = $currentID;
    
    $count++;
}			

 

within

 

here <td></td>

 

 

how would I do that?

 

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.