[PHP3] Typing Mistake in Manual From: Bram Heerink - www.guts.nl (Bram.Heerink <email protected>)
Date: 09/30/98

Hi folks,

This I copy/pasted from the manual:

1: <?php
2: Header("Content-type: image/gif");
3: $string=implode($argv," ");
4: $im = imagecreatefromgif("images/button1.gif");
5: $orange = ImageColorAllocate($im, 220, 210, 60);
6: px = (imagesx($im)-7.5*strlen($string))/2;
7: ImageString($im,3,$px,9,$string,$orange);
8: ImageGif($im);
9: ImageDestroy($im);
10: ?>

Dou you see the missing $ on line 6?

This mistake is in all the manuals for I can see now...

Bram

......... Escape the 'Gates' of Hell
  `:::' ....... ......
   ::: * `::. ::'
   ::: .:: .:.::. .:: .:: `::. :'
   ::: :: :: :: :: :: :::.
   ::: .::. .:: ::. `::::. .:' ::.
...:::.....................::' .::::..

--
PHP 3 Mailing List   http://www.php.net/
To unsubscribe send an empty message to php3-unsubscribe <email protected>
To subscribe to the digest list:  php3-digest-subscribe <email protected>
For help: php3-help <email protected>  Archive:  http://www.php.net/mailsearch.php3