php echo !+rep!
#1

hi,

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($im200150174$text_color$font$text_money);
//i tried things like:
echo'$';
//but it didnt work. 
would be happy abot help.
Reply


Messages In This Thread
php echo !+rep! - by PawnoQ - 11.12.2011, 15:16
Re: php echo !+rep! - by iTorran - 11.12.2011, 15:18
Re: php echo !+rep! - by PawnoQ - 11.12.2011, 15:19
Re: php echo !+rep! - by Sascha - 11.12.2011, 15:21
Re: php echo !+rep! - by THE_KNOWN - 11.12.2011, 15:21
Re: php echo !+rep! - by iTorran - 11.12.2011, 15:23
Re: php echo !+rep! - by Sascha - 11.12.2011, 15:24
Re: php echo !+rep! - by PawnoQ - 11.12.2011, 15:28

Forum Jump:


Users browsing this thread: 2 Guest(s)