Re: Adding a string and a numeric

From: Date: Tue, 20 Feb 2001 17:28:31 +0000
Subject: Re: Adding a string and a numeric
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40772@lists.php.net to get a copy of this message
<?php $released = 'released'; $released .= '1'; ?> <?php $released = 'released'; $released = $released .'1'; ?> -- Chris Lee Mediawaveonline.com em. lee@mediawaveonline.com ph. 250.377.1095 ph. 250.376.2690 fx. 250.554.1120 "Don" <don@lclcan.com> wrote in message news:3A929FB5.FB0FE307@lclcan.com... > I know this is most assuredly in the manual and I have looked but either > the search engine is not robust enough or my eyes require additional > laser treatment. > > I have a string variable called "released" and an integer, 1. I wish to > concatenate so that I get the result: "released1". How may I accomplish > this? > > Thanks, > Don > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40772) next »