New to 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

Post Reply
verwire02
Forum Newbie
Posts: 2
Joined: Thu Jul 08, 2010 2:49 pm

New to PHP

Post by verwire02 »

I've been given a task here at work. I'm sure it's probably pretty much straight forward. Here it goes . . .

I need to take a spreadsheet and store it in some database. Maybe access, not sure yet. That's not an issue. I need to write an application to read this data from the database and display it in a webpage as a spreadsheet. I need to be able to have basic functionality as a spreadsheet. Add, delete rows, etc. then save this data back to the database. Can this be done using PHP? I suspect so, but I'm so new to PHP so I don't have a clue where to start. Or maybe there's some open source code out there that does pretty much what I'm wanting. At any rate, any help us much appreciated.

Thanks,
verwire02
mikosiko
Forum Regular
Posts: 757
Joined: Wed Jan 13, 2010 7:22 pm

Re: New to PHP

Post by mikosiko »

Yes... can be done.

google for C.R.U.D and you will find several examples... start writing your code and came back with your code and doubts... you sure will find help here. For the database I will suggest you to use MySql.
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: New to PHP

Post by califdon »

Sure, it can be done, but if you are new to PHP (new to programming?), it's going to be a very time-consuming project. Most of the requirements you stated sound to me to be artificial or uninformed. I can think of all sorts of ways to reach the end objective without the restrictive requirements of the steps in between. If this is a serious business objective, I certainly would approach the issue very differently than that. If this is a problem for a class, I would consider it a deliberate trap. There are just too many factors to be discussed in a forum post.
Post Reply