OT: Insert brackets ( [ , ] ) into mysql table

Dylan Semler dylan.semler at gmail.com
Sun Nov 5 07:23:11 UTC 2006


I've been searching a bit for this but nothing seems to work.  I have a
mysql database setup and want to insert the value [mag] into a table.  How
does one do that?  I've tried many variations on:

 insert into objects (object, ID, `Spec.`) VALUES ('[mag]', '[mag]',
'[mag]');

with backslashes and backticks around the brackets.  Usually mysql juts
updates the table with a [, rather than [mag].  Anyone know how this should
be done?


-- 
Dylan

Type faster.  Use Dvorak:
http://dvzine.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/users/attachments/20061105/84fec105/attachment-0002.html 


More information about the users mailing list