11.12.2011, 15:16
hi,
i know this is not a php forum but this problem is really tiny so i thought id try it here.
would be happy abot help.
i know this is not a php forum but this problem is really tiny so i thought id try it here.
PHP код:
//i get my money amount from a mysql database then i print it onto an image
//but my question is how would i not only display the money amount like e.g. just 200 but also a dollar sign behind it?
//Like: 200$
//how could i also echo the $ signs behind the money amount?
$Money=mysql_result($result,0,"Money");
$text_money = $Money;
imagettftext($im, 20, 0, 150, 174, $text_color, $font, $text_money);
//i tried things like:
echo'$';
//but it didnt work.
