another dumb newbie question - backslash before single quote
| From: | Timothy Wright | Date: | Mon, 15 Jan 2001 19:13:53 +0000 |
| Subject: | another dumb newbie question - backslash before single quote | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-5884@lists.php.net to get a copy of this message | ||
Hello -
I have set up a calendar database with MySQL and PHP that uses simple text
and tinytext fields for events and event descriptions. The problem is,
whenever I enter an event that uses an apostrophe ( St. Patrick's Day) or a
description (4 o'clock) it stores and returns ( St. Patrick\'s Day) from the
database. Any suggestions?
Thanks in advance,
Tim Wright
:::::::::::::::::::::::::::::::::::::::::::
::: :::
::: Timothy Wright :::
::: mailto:tim.wright@01network.com :::
::: Digital Network Enterprises :::
::: http://www.01network.com :::
::: :::
::: secure e-mail by request :::
::: (PGP signature and/or encryption) :::
:::::::::::::::::::::::::::::::::::::::::::