If that works, than you should probably set out to debug the code that you didn't bother to post...
int analogInput = 0; // Just a place to hold the input value
// open the serial port at 9600 baud
// read the analog input on pin 0 (are you SURE you're using analog input 1 and not analog input 0?)
analogInput = analogRead(0);
// print it out to the serial port as an ASCII-encoded Decimal value
// give it some time to get there