I want to create an image using php but i want this image to run a javascript code.
Is this possible and how can i do this?
I'd say it is possible, probably best to let Orgy solve the problem.
To place the image in PHP use,
PHP Code:
echo "<img src='imgname'>";