Need some help with pictures and php
Posted: Thu Nov 05, 2009 4:18 am
I've never had a need to use pictures and php together, but what I am doing is making a website where a user can select a color and decal and then hit submit, then a picture of their shirt color with the decal on top of it (so they can see what it looks like sort of). I have no clue where to start when trying to display pictures with php. So any help here would be nice right now all I have is a form:
I dont' have any php currently as I don't know where to start, so thanks!
Code: Select all
<center><form name="blah" id="blah" method="post"><select name="sizes" tabindex="1"><option value="small" id="small">Small</option><option value="blueshirt.png" id="medium">Medium</option><option value="large" id="large">Large</option><option value="xlarge" id="xlarge">X-Large</option><option value="xxlarge" id="xxlarge">XX-Large</option></select> <select name="colors" tabindex="2"><option value="orange" id="orange">Orange</option><option value="blue" id="blue">Blue</option><option value="lightblue" id="lightblue">Light Blue</option><option value="green" id="green">Green</option><option value="lightgreen" id="lightgreen">Light Green</option></select> <select name="decal" tabindex="3"><option value="redBox" id="redBox">Red Box</option><option value="blueBox" id="blueBox">Blue Box</option></select><br /><br /><input type="submit" value="submit" /></form>