View Full Version : I know at least one other person out there codes...


KMiller
12-11-04, 08:33 PM
And that one other person is being humbly asked to help me with PHP for my website for artwork, etc. Before I state my request, though, I would just like to point out that I learned web design before PHP was in use, so I never learned it. I'm kind of having to teach myself, for that reason.

I'm trying to get it so I can change variables by choosing something on a drop down box, so people can view thumbnails of my artwork by simply drag-dropping a box...

What I want to do is simply set it so in one field (using tables to organize) it has

disp $dispthumb

and $dispthumb = $thumb[filename]

And of course we set $img[filename] by choosing a dropdown box which has (dun dun dun) the filenames. Choose the filename, the input for the form sets [filename], and that sets $thumb[filename] so that they can view the image thumbnail. Then I just set that up so the thumb links to the bigger version, and ahah! Victory!

Now, my problem is therefore in getting the dropbox to set [filename] so that the code works.

Alternatively, we could use links that set it, but I think the dropbox is sleekest...

If you can, please IM or YIM me, or catch me in the chat, when you reply, because chances are I'm going to screw it up the first couple times and need more help, LOL

bad
12-11-04, 09:29 PM
that can be done w/ javascript/jscript... you can probably find a script out there to do it for you

better to do that than have us code one for you


also... PHP and webdesign are really totally different... php is not harder because it's newer... it's harder because it's a true programming language, while HTML is like a... text based word processor

KMiller
12-11-04, 09:39 PM
I know that PHP is different from standard web design. I was just saying that I hadn't learned it because I learned web design before it was around. Web designers today learn PHP.

I don't want to use a JScript code because that'd require me doing more work than I want to. Plus, JS tends to be unstable. PHP can do this, I just need to figure out how I need to embed the HTML form code into the PHP.

In honesty, there should be a way to do it pretty simply with just clicking a link, and that would change the variable being displayed...it should be similar to changing an individual frame with an {a href} but I'm not positive...

KMiller
12-11-04, 10:20 PM
I'm going to try and use a simple [get] code for it...