473,768 Members | 2,322 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

creating table cell regarding txt files

22 New Member
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('=',$li ne_of_text);
echo $parts[0].$parts[1]."<br>";
}
$cont = htmlspecialchar s(file_get_cont ents($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\Hitosh i 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.l og
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.l og
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\Hitosh i Hyoda

and...

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

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

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

Similar topics

10
26875
by: john T | last post by:
Is there anyway to vertically center a html table using css in such a way it does not alter the html table. When I tryied it just screws up.
2
2984
by: David Bradbury | last post by:
I currently have an iframe on a webpage into which users can insert content. They can further customise the text as I've included buttons such as Bold, Italic, Bullet point etc. This is done along the lines of <td><div class="cbtn" onClick="cmdExec('bold',idContent)" onmouseover="button_over(this);" onmouseout="button_out(this);" onmousedown="button_down(this);" onmouseup="button_up(this);"> <img hspace="1" vspace=1 align=absmiddle...
0
1043
by: brian | last post by:
I have a snipet of code written to search a directory. With help from the group I figured out how to place all the files from a direcotory in a single column table hyperlinked to the file. The portion of code needed for the iterations is below to help you understand. Now I need to take that one step further: -I want a table
0
1117
by: brian | last post by:
I have a snipet of code written to search a directory. With help from the group I figured out how to place all the files from a direcotory in a single column table hyperlinked to the file. The portion of code needed for the iterations is below to help you understand. Now I need to take that one step further: -I want a table
5
12553
by: sam | last post by:
Hi all, I am dynamically creating a table rows and inerting radio buttons which are also dynamically created. Everything works fine in Firefox as expected. But I am not able to select radio buttons in IE. It does not even throw any errors. I have searched over the net but could not find anyhelp. Hope some experts here could help me. Here is part my code that dynamically generates the radio buttons, I cannot paste the entire code as it is...
3
1877
by: mylog | last post by:
hi, I have a problem regarding the retrieval of data from a table. Here's is what I am doing. I have a created a table and from added the rows and columns and also data dynamically from the code in one of the function. Now I need to access that table and data on a button click, i.e. when a user clicks button I must be able to get the table information cell-wise. I have written the following code and when the user clicks the button all I get...
7
12074
by: TG | last post by:
hi! I am trying to create a sql server table from an excel sheet. Here is the code I have: 'This procedure the xlsx file and dumps it to a table in SQL Server
8
4458
by: webster5u | last post by:
Hi, I'm encounter a problem here. I hope somebody able helping me. i'm put a "log out" hyperlink overlap a image and that particular image is inside a table cell. I also try align the hyperlink on bottom and right at the cell but the problem is occur. If i set position as absolute then the image and hyperlink will leak out from table. If without the position setting then hyperlink is not overlap the image. Any suggestion? This is my...
0
9407
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10017
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9961
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9843
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6656
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5283
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5425
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3932
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2808
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.