Hi, to start of.. I'm new to this and have only learned the basics of html/css/php over a couple of weeks.
Any how, I am currently trying to build a website where an object is going to be moving from point A to point B, with help from vistors (colleagues) that inputs a number (distance). (The basic thought is that they put in the distance of a bike tour and togheter we will reach to the moon.)
So it's basically a progressbar in form of a small picture moving across the screen.
I need help in coding this, is it possible to code it such that everytime someone types in a distance it automatically sends this input to my website code so that the picture moves?
I am currently learning about php & mysql, this is probably what i need right?
This is how i have coded the img for now:
<IMG STYLE="position:absolute; TOP:830px; LEFT:310px; WIDTH: 80px; HEIGHT: 70px;" SRC="Randompic.jpg">
So i basically need to put in a formula with a constant and a variable (the input) into the "TOP" and "LEFT". I have the calculations in order but I have no idea how to connect their input to my code.