On Wednesday 03 October 2007, Tom Swiss wrote: > dmagick@xxxxxxxxx (Chris) writes: > > > Everting works fine, except when I try to insert a text that includes a > > > simple quote. > > > > http://www.php.net/mysql_real_escape_string > > I'll see you that and raise you PEAR's database interfaces: > > http://pear.php.net/package/DB - especially DB_common::quoteSmart() > > or the more modern > > http://pear.php.net/package/MDB2 > > I'm still partial to DB but suppose I will eventually have to move > to MDB2. And I'll raise you native prepared statements with a unified, C-based interface: http://www.php.net/pdo -- Larry Garfield AIM: LOLG42 larry@xxxxxxxxxxxxxxxx ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php