In a program php desire to print only the date of a variable of a
table mssql and also leaves the hour to me. The variable is row(9)
echo "%
</td>
</tr>
</table>
</td>
<td width=70 valign=middle align=right class=Gris10>
$ " . number_format ($row[2]/$Prop,0,',','.') .
</td>
<td width=35 valign=middle align=right class=Blanco11>$row[5]</td>
</td>
<td width=105 valign=middle align=right class=Blanco11>$row[9]</td>
</tr>";
Datetime
Moderator: General Moderators
I think you have to exit the echo to output arrays.
Try this:
Try this:
Code: Select all
<?php
echo "%
</td>
</tr>
</table>
</td>
<td width=70 valign=middle align=right class=Gris10>
$ " . number_format ($row[2]/$Prop,0,',','.') .
"</td>
<td width=35 valign=middle align=right class=Blanco11>" . $row[5] . "</td>
</td>
<td width=105 valign=middle align=right class=Blanco11>" . $row[9] . "</td>
</tr>";
?>-
Cruzado_Mainfrm
- Forum Contributor
- Posts: 346
- Joined: Sun Jun 15, 2003 11:22 pm
- Location: Miami, FL
check my reply in this post:
viewtopic.php?t=17911
viewtopic.php?t=17911