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++);}

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to