I believe I ran into this problem before, and I'm pretty sure that a back tick will work.
NOTE: a backtick is not the same thing as a single quote Using the backtick will also help you handle (and hopefully rename) tables and so forth that accidentally or unknowingly use a reserved keyword. using mysql-front, it had a bad tendancy to enclose table names with backticks, and so table creation would be allowed, but when i tried to access the table from the command line i got all sorts of errors, and using the backticks again worked. So try the back tick (`table-with-dash`) and see if that works. Mike -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 10:52 AM To: [EMAIL PROTECTED] Subject: Parser seems to have problems with '-' (dash). Hello I have hade several problems with the character '-' (dash, minus, or whatever you wan't to call it) the parser seems to regardles of quoting be seen as an substraction operator. Does anybody recognice this, have I just missed the part where the characters allowed in names and passwords is specified. antispam device: sql, query, queries, smallint Merry Christmas/Happy Hannuka/Happy holidays & A Happy New Year -- &ers ------------------------------------- Anders Nygård --------------------------------------------------------------------- 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 --------------------------------------------------------------------- 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