Jump to content

how would you do this one...


eduardo_consolacion

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.