Gregory,

This is a PHP question, really, but...
If you just echo the $companyname variable, you don't need double quotes around it:

<?php echo $companyname;?>

If that is not what you are actually doing, give us the real code you are usign with 
$companyname in it, and we'll take it from there.

At 19:38 2001-10-24 +0200, Gregory Jon Welling/Parts Trading Inc. wrote:
[snip]
> It is common (although not universal) practice to use quotes
>when writing the name of your company, (i.e.  Limited Liability Company
>"Widgetron").  Anyhow, one of the scripts that I am using has <? echo
>"$companyname";?>
>It works great when the person isn't using quotes in the company name, but
>when they are the quoted part disappears.  If everyone was using quotes, I
>think I could deal with the problem (however, that the quotes don't include
>the whole field is somewhat troubling).  If no one was using quotes, there
>would be no problem.  How do I write a script that detects the presence of
>quotes and based on their presence or absence decides how to format them.
>
>Thanks in advance,
>
>GW

(mysql database)
Marjolein Katsma      [EMAIL PROTECTED]
Java Woman - http://javawoman.com/


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to