I would approach this by first going here:

  http://www.php.net/manual/

And go to the section on types:

  http://www.php.net/manual/en/language.types.php

In there is a section for type juggling:

  http://www.php.net/manual/en/language.types.type-juggling.php

>From these places you'll see various options, such as:

  $int = (string) $int;

  settype($int, 'string');

On a related note, all variables passed through HTTP
are strings.  See also is_numeric().

Regards,
Philip


On Wed, 30 Oct 2002, Jef wrote:

> How can I convert an integer variable to a string variable? I have checked
> PHP's website and I must not be looking for the right function. Any help
> please.
> 
> 
> 
> 
> Jef
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to