i want to make a table in my program, what will i do? this is my program
Expand|Select|Wrap|Line Numbers
- <?php
- $file = "CHECK.TXT";
- echo "<table style=\"border: 0px solid black;\"> \n";
- $file_handle = fopen($file,"r");
- $y = fgetss($file_handle,1024);
- $x= htmlentities(file_get_contents($file)). "<br/>";
- echo "<td style=\"border: 1px solid black; width: 25px; padding:4p//x; text-align:center;\">";
- echo "<pre>".$x."<pre/>","<br/>";
- fclose($file_handle);
- ?>
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
plese help me! thank you!