cloning dBase with PHP

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: cloning dBase with PHP

Post 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.
(#10850)
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: cloning dBase with PHP

Post 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
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: cloning dBase with PHP

Post 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.
(#10850)
User avatar
Vegan
Forum Regular
Posts: 574
Joined: Fri Sep 05, 2008 3:34 pm
Location: Victoria, BC
Contact:

Re: cloning dBase with PHP

Post by Vegan »

ideally one i can use to edit content that may need revision, so why not use a rich form
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: cloning dBase with PHP

Post 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.
(#10850)
Post Reply