LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

field array

Hello,

My problem is as follow:

I have this array

$fields = array('name' => 'Nome', 'surname' => 'Cognome', 'phone' => 'Oggetto', 'email' => 'Email', 'message' => 'Messaggio');

I would like to create a var similar to this

 $myemail = $_POST[$fields[$key]['email']];

Unfortunately I can't solve it, although I do not have any parse problem.

Thank you.

My best Regards

0 Kudos
Message 1 of 2
(1,958 Views)

Hi jimoak,

 

Can you post the code you've been working with? I'm not sure I understand the question. That does not really look like an array in C, so I'm not sure what you're doing.

 

Best,

Claire C.
AppSW Staff Product Support Engineer
National Instruments
CLD|CTD
0 Kudos
Message 2 of 2
(1,819 Views)