What is the dialling code when ringing a mobile in Spain?
To ring a Spanish mobile phone (anywhere in the world that it
may be physically located), you dial your international access
prefix (most commonly 00, or use the plus sign on a GSM mobile),
followed by country code 34 for Spain, and then the 9-digit Spanish
number.
To ring a mobile from some other country that happens to be
physically in Spain, dial the number exactly the same way you would
if it were in its home country.