php-db | 2001011

[PHP-DB] another dumb newbie question - backslash before single quote From: Timothy Wright (tim.wright <email protected>)
Date: 01/15/01

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 <email protected> :::
::: Digital Network Enterprises :::
::: http://www.01network.com :::
::: :::
::: secure e-mail by request :::
::: (PGP signature and/or encryption) :::
:::::::::::::::::::::::::::::::::::::::::::

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>