You are here: numbers as strings « PHP « IT news, forums, messages
numbers as strings

Posted by Jon Aston on 05/10/05 00:48

how do I set a number as a string
example

let us say
$a = 1;
$b = 2;
$c = 0;

I would like to be able to
$str = $c.$a.$b;

to result with
$str = 012;

is there something that I have missed or I guess the question should be what
did I miss

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация