(Sketch based on illustrations from the books “Physical Computing” and “Making things talk”)
Most variable resistors have two connectors (if they have three they should most likely be connected like the potentiometer).
One goes to the +5v output on the arduino, the other one goes both to the analog input of the arduino and through a fixed resistor (the value should be related to the value of the variable resistor, but I usually try with a 10k resistor first) to ground.
You can use the same example as for the previous post.

