This is what i have so far... [b]staff.php[/b] [code] <?php error_reporting(0); include ("staff.inc.php"); $name = $_GET['name']; if ($name == null || $name == '') { $name = ""; } $link = mysql_connect($MySQLSrv, $MySQLUser, $MySQLPass); if (!$link) { die('Could not connect to MySQL! : ' . mysql_error()); } $db_selected = mysql_select_db($MySQLDB, $link); if (!$db_selected) { die ('Could not find the DB : ' . mysql_error()); } if ($name != "") { $result = mysql_query("SELECT name, job, phone FROM staff WHERE name = '{$name}'"); if (!result) { echo 'Could not run query: ' . mysql_error(); exit; } $row = mysql_fetch_row($result); header("Content-type: image/png"); $im = imagecreatefrompng("$pngimage"); $cBlack = imagecolorallocate($im, 0, 0, 0); if ($name != "") { imagestring($im, 5, 10, 10, 'Name: ' . $row[0], $cBlack); imagestring($im, 5, 10, 30, 'Job: ' . $row[1], $cBlack); imagestring($im, 5, 10, 50, 'Phone: ' . $row[2], $cBlack); imagepng($im); imagedestroy($im); } } ?>[/code] [b]staff.inc.php[/b] [code]<?php $pngimage = "staff.png"; $MySQLSrv="localhost"; $MySQLDB="test"; $MySQLUser="root"; $MySQLPass=""; ?>[/code] i was typin this out while you were posting.. ill ready ur post now :)