Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Focus, Now...Photo-Graffix
Old 06-22-2007, 09:58 PM Focus, Now...Photo-Graffix
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
Ok,

New topic...Photo-Graffix (http://www.photo-graffix.com) it's a flash gallery and I am currently using it for a product gallery...A simple gallery (I hope) other wise, I will have to trash it and find another idea...Anyway, here's the idea...

I created a checkout.php page for the gallery so products can be purchased off that page, and then the person could make a printer friendly page out of it, and print it.

Here's my problem, I need to know if it's possible, without too much work to create sessions for each image that is added to the checkout page from the gallery? I already figured out the variable part (that I was complaining about before), which if anyone wants to know, they say you have to have it this way:

Url (used to load the image from the gallery)
Code:
http://www.photo-graffix.com/galleryc/checkout.php?photoname='YourImage'
This is a working url that phto-graffix.com did for me.

The Php Code (Resides inside my checkout.php page with an html form)
Code:
<?php $name = $_GET['photoname']; echo $name ?>
meaning yourimage is not a variable that defines all images in the gallery, you need to specify the actual image name to the end of the url to display it in your 'checkout' page.

So anyway, I now need to be able to store more than one image into a session, so if someone wants to add a different item to checkout.php page it will work. It doesn't make sense to have one item in the 'checkout.php' page or 'basket' and then they have to print, then do it again for a different item. You get the idea. Could this be done pretty quick or is this something that is not worth the effort for a gallery script.
__________________
Made2Own

Please login or register to view this content. Registration is FREE

Last edited by Brian07002; 06-22-2007 at 10:54 PM..
Brian07002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-23-2007, 07:45 AM Re: Focus, Now...Photo-Graffix
Brian07002's Avatar
Defies a Status

Posts: 2,140
Name: ...
Location: ...
Trades: 0
Ok,

I found a page to follow regarding building a simple cart found here:

http://www.thewatchmakerproject.com/...-shopping-cart

Ok,

let me be brief...I am using everything that is provided on that page (for testing) the only thing different is in the sql which is the first line which I changed to:

PHP Code:
id varchar(100NOT NULL default ''
so I can use that as a field that doesn't auto-increment because it will be used for text instead of a number.

Now, when I get to the section called 'Multiple items, one product' (no quotes) on that page, I get errors...From my guess, it's because the sql code that I changed...I would appreciate any help regarding this.

What it all boils down to is I want to create a simple checkout page for the photo-graffix gallery and have a printable version of that page with a button on the page that will print out a printer friendly version of that page.

Thanks in advance.
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Focus, Now...Photo-Graffix
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.10694 seconds with 12 queries