i request some help in my photo gallery page. I made a small gallery script everything works fine. Its works like, it shows photos on a page and below every photo it shows 'delete option".
Now i want to add a feature in it, i want to make one picture as default picture.
it would work like, it will show below every picture, "Make default"
and when it is default then it doesnt show the option to delete.
i have some idea about it, so that i have make a column "status" in mysql table. by default its value is 0. when someone click make default picture, it change the value of that image to 1 and all others into 0. logic is clear with me but im not getting into this code.. can someone please help?
Set picture default.. please help
Started by Macintosh, May 04 2007 05:57 PM
1 reply to this topic
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users
