LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   mysql entry problems (https://www.linuxquestions.org/questions/programming-9/mysql-entry-problems-226664/)

atheist 09-04-2004 03:47 PM

mysql entry problems
 
I've been messing around a bit with mysql.

I just created a table that has the following types of columns: varchar(255), varchar(255), text. What I have to do now is insert text into these columns.

The first one contains just plain text. The second one must contain a pair of " and the third one must contain a '.

I don't know about the second one and I just left the pair of ", though later I tried \" but it didn't work. For the third one, all I could of think of was to do \' but that didn't work either.

I'm sure there's an easy solution for this but I can't for the life of me find it in the mysql reference document.

I'd appreciate any effort to help.

Thanks.

atheist 09-04-2004 05:06 PM

Seems I was right... I don't know why it didn't work before. But it does now. I'm probably getting too tired for this... o_O


All times are GMT -5. The time now is 04:25 PM.