From: "amir e." Date: 2011-11-04T01:35:25+09:00 Subject: Inserting to the mysql table in ruby I have a table and a phonebook program that I get information from users and insert into the table , but because of I use two variable first and second for information of users I can't Insert them into the table. my code is below : def inserting first = gets second = gets @connect.query('INSERT INTO person VALUES(first,second)') end please help me to solve this problem. -- Posted via http://www.ruby-forum.com/.