Re: Printing a string issue

From: Date: Sun, 01 Jul 2001 08:40:30 +0000
Subject: Re: Printing a string issue
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-55721@lists.php.net to get a copy of this message
On Friday 29 June 2001 23:09, Craig Simon wrote: > from html it would look like this > > "<p><a > href="wtai://wp/mc;1-555-555-1212"">Asst</a></p>" > > So I am trying to figure out how to write this. I have a statement > like this: > > print ("<p><a > > href=\"wtai://wp/mc;"$row["officenum"]"\">Office</a></p>"); > > Although I can't get this to parse! Use the string concatenation operator '.' : print ("<p><a href=\"wtai://wp/mc;" . $row["officenum"] . "\">Office</a></p>"); -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) void sleep(){for(long int sheep=0;!asleep();sheep++);}

« previous php.general (#55721) next »