tranny problem??

does any body have a clue when i shift to 1st gear or any gear on my gsr motor with out turning the car on and then when I turn the car on the car just moves while my feet is on t he clutch pedal? but if i turn the engine on i cant shift to any gear? any ideals whats wrong 
