Skip to content Skip to sidebar Skip to footer

Trying To Save Variables To A Mysql Database Table Using Images

So I'm not really sure how to ask this...but I'm making a website in which you would be able to click one of six weather icons leading you to a page that will allow you to enter yo

Solution 1:

Well, first of all, the point of this homework is for you to figure out how to do this on your own, although I guess SO kindof counts towards that.

Set an onclick property of the image set the value of a hidden form element. That should be enough for you to google and get a proper answer.

<imgsrc=fooonclick="javascript_code_goes_here">

and

<inputtype=hidden name='weather'id='weather' value=''>

Post a Comment for "Trying To Save Variables To A Mysql Database Table Using Images"