469,076 Members | 1,330 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,076 developers. It's quick & easy.

creating table cell regarding txt files

22
anyone plz help me.. i have here a simple program and i want to create an table cell.. what can i do?.. i will show you all my php code..

[PHP]

<?php

$fc = "Check.txt";
$handle = fopen($fc,"r");
$content = fgets($handle);
$parts = explode('=',$line_of_text);
echo $parts[0].$parts[1]."<br>";
}
$cont = htmlspecialchars(file_get_contents($fc));
echo "<pre>".$cont."</br></pre>";

fclose($handle);
?>

[/PHP]
-------------------------------------------------------------------
and this is my output.....
-------------------------------------------------------------------
Volume in drive C has no label.
Volume Serial Number is ACF3-92D1

Directory of C:\Documents and Settings\Hitoshi Hyoda

2007/09/08 12:45 <DIR> .
2007/09/08 12:45 <DIR> ..
2007/03/01 16:52 290 1.txt
2007/04/24 07:03 <DIR> ChikkaDefault
2007/11/20 08:16 <DIR> Desktop
2007/11/16 16:56 <DIR> Favorites
2007/06/01 07:56 <DIR> logs
2007/11/19 17:00 <DIR> My Documents
2007/11/20 07:01 4 pid.txt
2007/11/20 07:01 152 PluginManager.log
2007/06/14 12:02 23 presets.ini
2007/09/08 12:45 <DIR> Saved Games
2007/11/19 12:44 <DIR> Start Menu
2006/09/26 00:31 <DIR> WINDOWS
4 File(s) 469 bytes
10 Dir(s) 5,583,568,896 bytes free
----------------------------------------------------------------------------------
i want to put an table cell at the part of this...

2007/09/08 12:45 <DIR> .
2007/09/08 12:45 <DIR> ..
2007/03/01 16:52 290 1.txt
2007/04/24 07:03 <DIR> ChikkaDefault
2007/11/20 08:16 <DIR> Desktop
2007/11/16 16:56 <DIR> Favorites
2007/06/01 07:56 <DIR> logs
2007/11/19 17:00 <DIR> My Documents
2007/11/20 07:01 4 pid.txt
2007/11/20 07:01 152 PluginManager.log
2007/06/14 12:02 23 presets.ini
2007/09/08 12:45 <DIR> Saved Games
2007/11/19 12:44 <DIR> Start Menu
2006/09/26 00:31 <DIR> WINDOWS

not including the....

Volume in drive C has no label.
Volume Serial Number is ACF3-92D1

Directory of C:\Documents and Settings\Hitoshi Hyoda

and...

4 File(s) 469 bytes
10 Dir(s) 5,583,568,896 bytes free

plz help me.....
Nov 29 '07 #1
0 908

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

reply views Thread by brian | last post: by
reply views Thread by brian | last post: by
3 posts views Thread by mylog | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.