Jump to content

aligning tables using php?


farril

Recommended Posts

hi there.

 

ive got the following code

 

 <?php
			  print"<td align>$getthreads3[showtime] </td>"
			  ?>

 

i need to align that column to the right. but because its using print it doesnt allow me to just add ="right" into it.

 

is there a way to do this.

 

and also, iv been told using print and echo arnt good programming practice, so how would i go about adding that line without using either?

Link to comment
https://forums.phpfreaks.com/topic/132222-aligning-tables-using-php/
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.