pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mauricio Carvalho de Oliveira <carvalho@dt.fee.unicamp.br>
To: pgsql-sql@hub.org
To: shanen@silverlink.net
Subject: Re: Trying to concatenate using a string variable and text
Date: Sat, 27 Feb 1999 12:00:32 -0300
Message-ID: <36D8088F.2620890A@dt.fee.unicamp.br> (raw)
References: <199902270400.XAA06016@hub.org>

> ... I thought that all I would have to do is replace the plus sign (which was the concatenation character in PHP2 with the || which is the concatenation character in PHP3.

The concatenation operator in PHP3 is "." Try

$a = "Hello";
$b = "World";
$HelloWorld = $a . ", " . $b . "!";


--
Mauricio C. de Oliveira
mailto:carvalho@dt.fee.unicamp.br
http://www.dt.fee.unicamp.br/~carvalho






view thread (2+ messages)

Message-ID: <36D8088F.2620890A@dt.fee.unicamp.br>
Permalink:  ../36D8088F.2620890A@dt.fee.unicamp.br/
Also on:    postgresql.org/message-id/36D8088F.2620890A@dt.fee.unicamp.br

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: carvalho@dt.fee.unicamp.br, pgsql-sql@hub.org, shanen@silverlink.net
  Subject: Re: Trying to concatenate using a string variable and text
  In-Reply-To: <36D8088F.2620890A@dt.fee.unicamp.br>
  References: <199902270400.XAA06016@hub.org> <36D8088F.2620890A@dt.fee.unicamp.br>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox