Disable iPhone 4 data connection
Sure. In Settings > General > Cellular > disable Cellular Data

This will restrict all data to Wi-Fi



For more information, see iOS: About the Cellular Data setting from Apple Support