[thelist] Client Updates to SSI .inc file

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Wed Jul 28 21:13:11 CDT 2004


> I'm a tad suprised nobody has mentioned this...

> This is a classic database job. 

	I think the reason nobody has mentioned this is because he said
the client doesn't want to build a database solution.

-----Original Message-----
From: thelist-bounces at lists.evolt.org On Behalf Of Casey Crookston


----- Original Message -----

> > Can't you use a form for them to input the data and write a simple 
> > server-side script (ASP/PHP) to append the data to the inc file?
>
> Yeah, could do that, but newly added stores would need to be added in 
> alphabetical order (first by state, then by store name), not simply
appended
> to the end of the file. Is there a simple scripting technique to do 
> that?
Or
> alternatively, to read and display the newly appended list in the 
> desired order?

I'm a tad suprised nobody has mentioned this...

This is a classic database job.  Put all the data into Acess or MySQL.
To make it alphabetical, just put an ORDER BY in the query.  Spit the
data out. Then build a back-end system for them to add and edit.

Don't screw around with text files or .inc files ot tab-delimted or any
of that screwy stuff.  Just do it right!

Casey





-- 
* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 





More information about the thelist mailing list