Hi
I tried the tutorial from on the page:
http://www.phpbuilder.com/columns/nasser20030219.php3
I created the same exact tables and used the script from the example. However, it do not work. The error messages received are the following:
Warning: imagecreatefrompng(graphtemp.png) [function.imagecreatefrompng]: failed to create stream: No such file or directory in /home/ftpserver/www/homepage/student/cmpakris/image.php on line 3
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/ftpserver/www/homepage/student/cmpakris/image.php on line 4
Warning: imagecolorallocate(): supplied argument is not a valid Image resource in /home/ftpserver/www/homepage/student/cmpakris/image.php on line 5
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/ftpserver/www/homepage/student/cmpakris/image.php on line 9
Warning: Division by zero in /home/ftpserver/www/homepage/student/cmpakris/image.php on line 13
Warning: imagepng(): supplied argument is not a valid Image resource in /home/ftpserver/www/homepage/student/cmpakris/image.php on line 28
Could this be due to that GDLib might not be installed? ( I am using a school network and do not know the configuration)
Regards,
BettyB