Hi, I need help with php because I’m still rookie.
Let say that the new person load website showing first default image called “image-1.jpg”.
Then are menu showing list of images and if person want to change image to replace with first one, all they have to do is to click on image and then replace with default one. For sample person selected images-4.jpg and replace with default which is "image-1.jpg, so the images-4.jpg become default images when next the load site.
But my problme is that how can I write code with cookie or session variable to load default images if person change images and want to use the default one when they load site!
please help thanks....
need help with image please...
Moderator: General Moderators
- Christopher
- Site Administrator
- Posts: 13596
- Joined: Wed Aug 25, 2004 7:54 pm
- Location: New York, NY, US
Re: need help with image please...
so bascially i have to write that code like this
<?php
<img src="pathname/($_COOKIE["image-1.jpg"]) ;
?>
is this correct!
AM
<?php
<img src="pathname/($_COOKIE["image-1.jpg"]) ;
?>
is this correct!
AM
Re: need help with image please...
http://uk.php.net/tut.php
http://devzone.zend.com/node/view/id/627
if you can't work it out after that:
http://www.amazon.co.uk/Computers-Begin ... 0746031467
http://devzone.zend.com/node/view/id/627
if you can't work it out after that:
http://www.amazon.co.uk/Computers-Begin ... 0746031467