Vegan wrote:Consider a spreadsheet, typically it has the top row with headers
so when a sort is called, excel can recognize the headers and sort the data itself, so I was considering using PHP the same way
Well, that just for spreadsheets and not the way it works for databases or arrays where the column names are implicit -- not just another data row. Because if its inefficiency, I would rather not consider a spreadsheet...
Vegan wrote:another idea come to mind, how about a text box in a web form, that is a rich text such as HTML etc, so that the text box becomes a WYSIWYG web editor
Totally different subject. There are a number of these editors, just search for "html rich text editor". CKEditor and TinyMCE are the most popular, but there are many others with specific features that may be of interest.