473,394 Members | 1,889 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Simple form, Big Results

I have a php form on a website that has a few simple fields like name, date, and a text box for comments. Once I hit the submit button on the form it sends the form information to a CVS file on the webserver.

On a different page I am trying to display the data from that CSV on the page with the most recent entries first and the oldest entry last with no more than 15 or 20 past records total. I can get the information to the CSV but I can't get it back to the other webpage. Furthermore I am wanting to format the font on the new page. Like changing the font size, color, and type for each piece information ie making the name display in 30px Cambria font and the comments display on a new line with 12px font. Any help would be awesome.
Oct 3 '11 #1
2 1473
johny10151981
1,059 1GB
What is your actual problem??
you cannot access the CSV File?
Or You cannot read from file.l..
you are getting errors??

or what?
Oct 3 '11 #2
Simply the lack of knowledge on how to accomplish this task. I dont know how to have the web page access the csv onload and display the information on the page. I thought this could be accomplished using PHP but havent found a solution so far. The form getting the information to the CSV is working fine. I enter the information and it is stored on the CSV named filetoread.csv.

I know CSS and would like to control the way the information looks once it is displayed if possible. This is one of my first ventures into doing anything server side.

Thanks for your reply and I appreciate any help.
Oct 3 '11 #3

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

Similar topics

3
by: WiseGuy | last post by:
I have a form which customers can fill in whenever they have got products which they want to be anodised. Everything works fine and in addition to the email I get out of my formmail.php, I would...
6
by: Benny Alexander | last post by:
Hi, I am using a simple form 2 email program. I ama experienced programmer, But I feel very bad, as I am unable to fix this problem. All seems to be fine, But the mail is not reacing to my...
4
by: Ken | last post by:
How can I get this line to work? I am trying to get the results entered in a form to be part of my query. I am able to get the form results but I get a error stating Syntax error (missing operator)...
7
by: r0adhog | last post by:
I have a very simple form: <html> <head> </head> <body> <% function ValForm() if len(document.form.newapp.all("AccessCode").Value) = 4 then document.form.newapp.submit()
13
by: Nathaniel Maier | last post by:
Hi. How can I send form results to an email address based on what the user selects? e.g. not to the same address all the time, and not to all addresses, but to the one that the user selects. How...
1
by: Targa | last post by:
I have a form that I submit to an asp page. The asp page contains an iframe that needs to receive the form results too. How can I submit the form to both the asp page and the iframe at the same...
1
by: dman | last post by:
Hi, I am a total newbie to asp.net. I have spent the last week or so trying to find a good tutorial that would show me how to create a form that would be entered into a SQL database and then...
1
by: adam | last post by:
I have a simple form question. I order to access a payment gateway I have a asp.net page which has to have a form that use POST for method and _blank for target. Before the information of the form...
1
by: spamfilteraccount | last post by:
Hi, I want to make a really simple form with C# and windows forms, which is trivial with Java, but I'm unable to reproduce it with .NET. I can't believe it's impossible. I want a simple...
2
by: poohbah | last post by:
Hi Everyone - I am very new to scripting. I got a formmail.asp file off the internet to set up a simple form on a contact us page, The problem is that the email addresses in the results emails are...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.