Help need to get solution for php program

hello friends i am having some doubts that makes me stuck on my program way
see i have 3 image where i kept an radio button under that while i onclick on the radio button the same image which i selected through radio button i displayed in the other place of same page now from i need to get thtimage height and width…i know to getimagesize is used for it but here i am displaying th image through the javascript function
like
document.getElementById(“your”).innerHTML=‘<img src=“hai.jpg”/>’;

so after displaying it their is another radio button while clicking it i should get the selected images width and height… here how can i pass the value width height from javascript to php plase solve it…

When you click on the radio button, do you handle everything in JS, or is control passed to a PHP script?

It sounds like you are mixing up php and javascript and trying to use each other’s functions.
OR
You have a php backend controlling everything here.

??

hello friend , i need to pass the width an height of the image from the js to php like i am storing the values in the variable and i need to call it in the php variable dont tell pls get and post method and document .write() tell sme thing elese so wht i can solve it in the better way… pls… waiting for your answer.

Are you relying on PHP to get the width/height for you?

hello frind see the onclik command should take place me and the can right for it in the js right if the click id =sme thing so we should pass the height width like tht and tht height and width is in js so i need to pass it into the php

was that English?