|
Posted by Rik Wasmus on 09/09/07 18:08
On Sun, 09 Sep 2007 20:04:06 +0200, Orin <savalon@ukr.net> wrote:
>
> That's not the way... I'll try to explain what i exactly want:
>
> I need to make a table and columns in console with specific data.
> For example, like in MySql.
>
> if i execute 'C:\>php cmd.php' i will see:
> '<table><tr align=3D"center"><td> stuff1</td><td
> color=3D"#FFFFFF">stuff2</td></tr></table>',
>
> but i need a table.
An HTML table doesn't exist in a commandline context (just like you can'=
t =
use HTML form elements).
You can mimique a table with sprintf() though, just make sure you pad =
everything with the appropriate amount of spaces.
-- =
Rik Wasmus
Navigation:
[Reply to this message]
|