Re: Trying to concatenate using a string variable and text

From: Mauricio Carvalho de Oliveira <carvalho(at)dt(dot)fee(dot)unicamp(dot)br>
To: pgsql-sql(at)hub(dot)org, shanen(at)silverlink(dot)net
Subject: Re: Trying to concatenate using a string variable and text
Date: 1999-02-27 15:00:32
Message-ID: 36D8088F.2620890A@dt.fee.unicamp.br
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> ... 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(at)dt(dot)fee(dot)unicamp(dot)br
http://www.dt.fee.unicamp.br/~carvalho

Browse pgsql-sql by date

  From Date Subject
Next Message Ingrith Andrea Correa Vargas 1999-02-27 21:35:23 CREATE TABLE - DEFAULT
Previous Message Sue Hanen 1999-02-27 03:02:44 Trying to concatenate using a string variable and text