There is a function within PHP called imagerotate that will do this for you.
Suppose you want to rotate an image by 90 degrees, you can use: <?php $move90 = imagerotate($myimage,90); //$myimage is the loaded image, ?>
I have created a form which take in values like NAME ADDRESS EMAIL ID PHOTO PHONE NUMBER
i want to add these values into database, but i am having a problem in inserting the Image (photo).