Jump to content

Recommended Posts

how would you do this one...

 

I have a page called categories.php it has the following:

 

  Categories

 

Books(clickables)  Magazines  (clickables )

 

Toys(clickables)  School Supplies (clickables)

 

when i click the books it iwll go to another page called books.php in it it has all the different kinds of books:

 

Books

 

picture of the book      picture of the book1

Name: Horror              Name:Sci-fi (clickables)

Price: $30                  Price: $3

 

 

picture of the book      picture of the book1

Garden                Music

Price: $53            Price: $301

When click on one of the books like "Horror" it will display on another page called horror.php

 

it will have a :

 

A Book Picture

Name of the Book: Harry Potter

Description: Children's Book

Price: $350

 

corresponding on the price that was placed on the page. Then i will have a view_purchased.php

having:

 

qty item name        price      description          total

2    harry potter      $350  Children's book        $700

 

questions:

1)how would you pass the value to the next page, having retaining the value that was placed on the page?

2)Either you can click the name or picture book

 

picture of the book(clickables)      picture of the book1(clickables)

Name: Horror (clickables)              Name:Sci-fi (clickables)

Price: $30                                    Price: $3

 

and may be placed tp another page so it can be viewed.

 

A Book Picture

Name of the Book: Harry Potter

Description: Children's Book

Price: $350

 

how would you do this?

 

3) how would you pass the necessary information like this:

 

qty item name        price      description          total

2    harry potter      $350  Children's book        $700

 

and can calcualte the price using the PHP LAnGUAGE?

Please do help me with this one?

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/70006-how-would-you-do-this-one/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.