One thing I have never used PHP for is on-demand image placement – but now that problem has come up for me…
I need a function which will, given some X and Y coordinates, place a .png, or .gif somewhere on screen, using some form of absolute positioning.
I’m afraid I have absolutely no idea where to start looking for such information. For me, PHP is about displaying data from databases. This is an utterly alien concept to me! 🙂
maybe this example helps you to get started.
I used HTML, CSS and PHP
Copy this code and save it to a php-file, e.g. “index.php”. Then change the values for $myXCoordinate and $myYCoordinate. This will change the absolute position of your image.