Page 2 of 2
Re: cloning dBase with PHP
Posted: Mon Dec 14, 2015 7:42 pm
by Christopher
Vegan wrote:Given that PHP can create a DBF file itself, in addition to append to it etc, I was wondering if a bunch of code can get the job done
A bunch of code can always get the job done. Comments from Celauran and me above are relevant to the quality of said bunch of code.
Vegan wrote:images are all in the cloud somewhere, i use a wide range of them
Images are always at some URI and usually a bunch of them are used.
Vegan wrote:Can PHP work with headers for a 2 dimensional array? This way I can use table[0] as the header for a database down the road
Huh!? Not sure that "table[0]" is or what you mean by header.
Re: cloning dBase with PHP
Posted: Wed Dec 16, 2015 6:46 am
by Vegan
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
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
Re: cloning dBase with PHP
Posted: Wed Dec 16, 2015 12:59 pm
by Christopher
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.
Re: cloning dBase with PHP
Posted: Fri Dec 18, 2015 4:08 pm
by Vegan
ideally one i can use to edit content that may need revision, so why not use a rich form
Re: cloning dBase with PHP
Posted: Fri Dec 18, 2015 5:52 pm
by Christopher
Vegan wrote:ideally one i can use to edit content that may need revision, so why not use a rich form
I gave you then names of two editors that can "edit content that may need revision." And what to search for to find may others. All of these editors are for editing HTML content.