Page 1 of 1
Writing to specific line and variables
3 Replies - 2359 Views - Last Post: 09 March 2006 - 05:08 AM
Posted 06 March 2006 - 08:13 AM
They want me to fix it and make it better.
So I want to make it so that certain options change certain things and I want the form to be expanded onto multiple pages that display only the necessary parts of the form.
The catch is that I have to make it write an exact amount of lines into the file and write certain information on exact lines. How do I do this? Can it be done? Can anyone at least point me in the right direction??
Posted 06 March 2006 - 09:23 PM
Your description of the current process and what you need to accomplish is a bit vague and added that we have never seen the website of which you speak. It would also help to have a copy of the script and a more precise description of what it's currently doing and should be doing (or a look at the webpage).
Just Googling around for information on scripts, provided I know what I'm trying to accomplish in advance, seems to work even though I don't really know much about the language. Then again, I have the advantage of being acquainted with the text-book basics already due to a Java competition I ended up unexpectedly joining. :p
Posted 08 March 2006 - 09:33 PM
But it apparently can't be too hard because I figured it out and I ended up rewriting the pre-existing 8,000 lines into five 1,000 line codes. What I did to sort of "back door" it, was I wrote all of the fields into a cookie that resorts all of the fields into the right order on a "Final Page" and sends in the workup. I also developed the page into a CSS form to eliminate all of the bulky table coding, which in the end made it run alot faster...
Now I just have to convince them to put it all on the web
Posted 09 March 2006 - 05:08 AM
I know the feeling, heh. A group I'm in wanted a better webpage so I made one using XHTML and divisions but their current webmasters don't know what either of those are and didn't like it, heh... Probably because they can't understand the code.