This is more of a php problem than mysql, but since I am using them in
combo...

I have a database for people from the former Soviet Union that have
participated in a certain program.  One of the fields represents the name of
their company.  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



---------------------------------------------------------------------
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