greenbutton text = Send Emails when clicked user goes to email.php
redbutton text = Potential when clicked user goes to potential.php
bluebutton text = Bookings when clicked user goes to booking.php
I have attempted to create 3 different instances of imagejpeg($jpg_image);
imagejpeg($jpg_image1); imagejpeg($jpg_image2); imagejpeg($jpg_image2);
but it only shows the first one and have not figured out how to make them clickable.
Code: Select all
<?php header('Content-type: image/jpg'); $jpg_image = imagecreatefromjpeg('greenbutton.jpg'); $color = imagecolorallocate($jpg_image, 0, 0, 0); $font_path = 'arial.ttf'; $text = "Send Emails"; imagettftext($jpg_image, 25, 0, 69, 60, $color, $font_path, $text); imagejpeg($jpg_image); imagedestroy($jpg_image); ?>