Forums

the '>' in $form->data is closing my php statement

FreeSandwiches 15 Nov, 2014
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!
Max_admin 15 Nov, 2014
The editor must be disabled when you have any PHP code, do you have it disabled ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin 15 Nov, 2014
Right in the "Display message" edit screen!🙂
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
RAD 29 Nov, 2014
i have the same issue. with editor in code view.
CFv5, PHP 3.3.6
Max_admin 29 Nov, 2014
Hi RAD,

Please post your code here with a screenshot if possible!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.

VPS & Email Hosting 20% discount
hostinger