Correct way to do this? (pulling up info)

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
nado
Forum Newbie
Posts: 20
Joined: Tue Aug 29, 2006 3:47 am

Correct way to do this? (pulling up info)

Post by nado »

hi

I'm trying to put together a very simple online store.

To keep things simple here's what happens:

1) potential customer uses a php form to email me a quote request (already got this)

Then I want to be able to do this:

2) I login to a backend page where I can create a new quote (so I enter in the potential customer's name and email addy, plus a product image, description, price, shipping costs)... the quote may include a couple of products.

3) I then click Save and can then email the quote to the potential customer

4) In the email it will have the quote in text

5) If they want to view the images and to start payment (simple paypal form) they follow an auto-generated link (which is in the email) such as: http://www.mydomain.com/quote.php?id=69 (security shouldn't be a worry as I will only display the potential customer's name)


So I'm wondering how you setup something like this? (I know MYSQL would be involved)

Is there a good piece of code (or better yet a complete solution) somewhere that I can workoff to do this?

I'm a major noob to PHP having only just learnt PHP includes 2 days ago (although I'm pretty familiar with coding in general)... would this be too difficult to do quickly?

I would like to put in a basic customer management system later on... but we'll leave that to another day :)

cheers
nathan
nado
Forum Newbie
Posts: 20
Joined: Tue Aug 29, 2006 3:47 am

Re: Correct way to do this? (pulling up info)

Post by nado »

So I guess it's a lot like a php phonebook which can store uploaded images and the records can be retrieved using ...?id=69
Post Reply