This is probably some stupidly simple error on my part, but when I try and put this code
<?php
foreach($form->data['Data'] as $d){
echo $d;
}
?>
into a display message in the "On found" of a "DB Read" it interprets the '>' in $form->data is closing my php statement. When I submit the form I get "data['Data'] as $d){ echo $d; } ?>" displayed on my page.
I must be doing something stupid, but I just can't figure out what it is. Please Help me Max Payne! You're my only hope!
<?php
foreach($form->data['Data'] as $d){
echo $d;
}
?>
into a display message in the "On found" of a "DB Read" it interprets the '>' in $form->data is closing my php statement. When I submit the form I get "data['Data'] as $d){ echo $d; } ?>" displayed on my page.
I must be doing something stupid, but I just can't figure out what it is. Please Help me Max Payne! You're my only hope!
The editor must be disabled when you have any PHP code, do you have it disabled ?
Probably not. Where is this option?
Right in the "Display message" edit screen!🙂
Hi RAD,
Please post your code here with a screenshot if possible!
Regards,
Max
Please post your code here with a screenshot if possible!
Regards,
Max
This topic is locked and no more replies can be posted.
