Re: concatenating

From: Date: Thu, 11 Aug 2011 12:49:25 +0000
Subject: Re: concatenating
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-314492@lists.php.net to get a copy of this message
Hello Chris, CS> Is it possible to concatenate a string and an element from a CS> mysql_fetch_assoc array? I haven't had much luck searching google. CS> Such as concatenating "results" with ' . $posts_row['store_tptest'] CS> . CS> ' so that if there are no elements returned nothing will be displayed? if (!empty($posts_row['store_tptest'])) $str="results ".$posts_rows['store_tptest']; -- With best regards from Ukraine, Andre Skype: Francophile My blog: http://oire.org/menelion (mostly in Russian) Twitter: http://twitter.com/m_elensule Facebook: http://facebook.com/menelion

« previous php.general (#314492) next »