4 Replies - 471 Views - Last Post: 23 August 2012 - 05:01 AM

#1 AceKYD  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 33
  • Joined: 01-July 12

Displaying Images with PHP

Posted 23 August 2012 - 04:34 AM

Hello, thanks for checking this out. I am currently working on a website and would like to create a custom trader system with php. I have created the order page using basic html, each product has an image, name, price and description and the button to order now. Now i want to create only one page to serve as the page where people will make their order so i need details from the previous page. I have managed to echo the product name and description but i dont seem to be able to also echo the picture? so any ideas on how i can go about it?

PS: The entire details about each product is included in a <div> block, is it possible to echo that div?

Is This A Good Question/Topic? 0
  • +

Replies To: Displaying Images with PHP

#2 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3577
  • View blog
  • Posts: 10,444
  • Joined: 08-June 10

Re: Displaying Images with PHP

Posted 23 August 2012 - 04:36 AM

I would just save that data in a server-side session. then there is no need to drag those data from one page to another manually.
Was This Post Helpful? 0
  • +
  • -

#3 AceKYD  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 33
  • Joined: 01-July 12

Re: Displaying Images with PHP

Posted 23 August 2012 - 04:43 AM

I forgot to mention that i just started with php recently. But how can i do that please
Was This Post Helpful? 0
  • +
  • -

#4 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3577
  • View blog
  • Posts: 10,444
  • Joined: 08-June 10

Re: Displaying Images with PHP

Posted 23 August 2012 - 04:47 AM

you can find all the required information in the PHP Manual’s Session chapter.
Was This Post Helpful? 1
  • +
  • -

#5 AceKYD  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 33
  • Joined: 01-July 12

Re: Displaying Images with PHP

Posted 23 August 2012 - 05:01 AM

okay thanks.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1