Hi Carole,
There is no direct public transport route, so you will need to take a bus to Malaga and then a train or bus to Seville or Cordoba. However, this will typically take approximately 50 minutes by bus to Malaga then 1hr by train to Cordoba and possibly more than 2 or 3 hours to go to Seville, depending the connections.
I hope this helps.
Kindest Regards,
Amy