Scusa, ma per stampare poi i valori non dovrebbe bastare fare:
Codice PHP:
print $str_giorno $str_mese $str_anno"