close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

Pass image in Session Variable

Thread began 1/14/2010 7:30 pm by swoodmwood396702 | Last modified 1/19/2010 5:14 pm by swoodmwood396702 | 3426 views | 9 replies

swoodmwood396702

Actual image is not seen

The problem is that I haven't posted anything to my Database yet. I want the customer to confirm their choices, before committing their entries to the database.

So, I'm just spitting back their entries to them with a message to confirm them. Once they confirm, and move to the next step in the process, their choices are committed to the database.

I entered the line of code that you specified earlier:
<img src="../Colors/formimages/<?php echo $_POST['BallColor'] ?>.jpg"/>

The image is getting mapped correctly to the image in my server directory, but I don't see an actual picture. It's a box with a little x in it. I don't think that authorization or permissions is an issue.

I'm also wondering why we're not entering the echo $_SESSION command for this procedure? When I was passing the TEXT value for "BallColor", I would have the code as follows:
<?php echo $_SESSION['BallColor']; ?>

Shouldn't I have to echo the SESSION before telling the page to POST the answer?
Thanks!

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...