spreadsheet into php?

Hi

I have a spreadsheet (excel) but would rather have it as a php script. I don’t want to transfer the spreadsheet, id rather learn how to rewrite it in php script. I have no idea what this would be called for googling purposes, there might well be a tutorial already out there!

Basically I have a little menu

Food Drink Dessert
pizza tango cake
etc etc etc

for each combination of the 3 is a price, in excel its a 4th column so everything is pre set.

I would like to do that in php so is always accessable on my website.

would anyone know how to do this or if it already has a name?!

many thanks

Well, sounds like you need a full tutorial on PHP, tables, data and many many other areas of programming.
Let’s start simple. First, how far have you gotten at this point? Here are the parts that are needed…

HTML - A page should be set up to display your basic form and show your data and inputs.
PHP - This is the code, usually at the beginning of the page which handles the inputs from the users.
MySQLi - Database for holding your data if needed.
CSS - Styling for the “look” and “layout” of the HTML code.

In the HTML code, you need to learn about tables or without tables, CSS styling. In the forms area of your
HTML code, you need to learn about how to display data using PHP to display variables.

All of these are easy to do and most programmers here can help you with any of the. But, to get you a
quick start, you can look at this site. It talks about forms and should be a good place to start with. Then,
you can click “Next-Chapter” and walk thru their tutorial to give you a start. Then, on the top, you can
select PHP or CSS to learn more. There is a lot of tutorials on this site which you can learn just about any
item you need to know. And, of course, ask us here as that is why we are here…

Good luck… Once you get further along, post your code here between PHP tags and we will help more!

Sponsor our Newsletter | Privacy Policy | Terms of Service