Hmm, Allen, this may be overwhelming , but what you are trying to do would be ideal
with XML files and manipulating them with PHP and XSL style sheets. I am doing the
exact same thing you are with these technologies. Your XML page looks just like a
text file but with tags, like this:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<PROJECT_PAGES xmlns="whatever">
<PROJECT>
<PROJECT_NAME>C Test Name</PROJECT_NAME>
<DIVISION>Colorado</DIVISION>
<LETTER>D</LETTER>
<ADDRESS>Address Test</ADDRESS>
<CITY>City Test</CITY>
<STATE>State Test</STATE>
<ZIP>Zip Test</ZIP>
<PHONE>Phone Test</PHONE>
<FAX>Fax Test</FAX>
<TEAM>Name One</TEAM>
</PROJECT>
With multiple entries, then using PHP and XSL style sheets you can grab individual
tags and edit them, you can delete a whole "project" or "employee" in your case, add
them, SORT them in alphabetical order, numberical..the possibilities are endless. PHP
already has a XML and XSL parser built in depending on your server op system you may
need to install the dll's for them or compile them. But it is very smooth and fast
and not too hard to learn. If you know PHP you are half way there. Hope I haven't
confused the issue more. But trying to use PHP get lines and substrings and such in a
plain .csv is really inefficient and LIMITED.
Tinuviel
>>> "Allen May" <[EMAIL PROTECTED]> 05/02/01 09:28AM >>>
I would like to edit a list from a PHP form.
Can someone point me to a good tutorial??
I have walked-through a tutorial that showed me how to successfully pull the
contents of text file and display the whole contents. I want to view the
contents and then edit a specific line of in a list.
So, if I have list of employees and their telephone numbers, I'd like to be
able to search the contents and display the employees phone number then
allow me to edit the phone number and save it back to the list.
I know I can do this with MySQL but I need to keep the source data in a text
file.
Thanks for any suggestions.
-Allen
[EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]