Posted by J.O. Aho on 06/17/05 18:07
The Legend wrote:
> -----
> <tr>
> <tr bgcolor="<?php echo"$tabletop"; ?>">
> <td><?php echo"<font face=$b_fontface size=$b_fontsize color=$Tlink>";
> ?><?php echo"<b>$resultat[m.soort]</b>"; ?></td>
> <td><?php echo"<font face=$b_fontface size=$b_fontsize color=$Tlink>";
> ?><?php echo"<b>$resultat[m.titel]</b>"; ?></td>
> <td><?php echo"<font face=$b_fontface size=$b_fontsize color=$Tlink>";
> ?><?php echo"<b>$resultat[m.naam]</b>"; ?></td>
> <td><?php echo"<font face=$b_fontface size=$b_fontsize color=$Tlink>";
> ?><?php echo"<b>$resultat[m.bedrijfsnaam]</b>"; ?>
> <td><?php echo"<font face=$b_fontface size=$b_fontsize color=$Tlink>";
> ?><?php echo"<b>$resultat[m.plaats]</b>"; ?>
> </td>
>
> </tr>
> ----
$resultat[m.soort] isn't the fetched rows m.sort, but an undefined enum value,
which results in a cell in the $resultat that is not there.
You need to use ' or " around the cell name or use real numbers to fetch the
data you want to use.
$resultat['m.soort'] == $resultat["m.soort"] == $resultat[3] != $resultat[m.soort]
//Aho
Navigation:
[Reply to this message]
|