pragma solidity ^0.4.4;
contract heheBox {
struct DataBox {
mapping(address => string) Data_01;
mapping(address => string) Data_02;
}
mapping(address => DataBox) DataBox_hehe;
function save(string _InputData_01, string _InputData_02) public {
DataBox_hehe[msg.sender].Data_01[msg.sender] = _InputData_01;
DataBox_hehe[msg.sender].Data_02[msg.sender] = _InputData_02;
}
function display(address _address) constant public returns (struct) {
return DataBox_hehe[_address];
}
}
I wish the function display to display the mapping DataBox_hehe but it doesn't. Can anyone can teach me how can do this?
