Hello, I needhelp with GD library to place text on an image. The string will be called $totaltickets <?php $link = mysql_connect("localhost", "mysql_user", "mysql_password"); mysql_select_db("database", $link); $result = mysql_query("SELECT ticketid FROM tickets", $link); $totaltickets = mysql_num_rows($result); //Proccess GD Library ?> PHP: the page should only display a png image when visited with the text on it if you can do it that would be great here is the image: and here is the image what i hope for it to look close to when it has text: -John
Easiest way would be to add an image on top of that one, using the one you have as background.. check http://php.net/manual/en/function.imagecreate.php for information on how to make an image out of a string.