Hi,
I'm using chronoforms and chronoconnectivity (both latest versions) with Joomla 1.5.9.
The forms contains txtareas which are being edited using the Joomla editor. For frontend editing I'm using the following code to retrieve a text for editing:
where {C-Recatie} is the DB-field which is retrieved form the DB for editing at the frontend.
The parse error exist when the text in field 'C_recatie' contains double quotes. When I change this to single quotes the error disappears.
A solution would then be to change the above code, by using single quotes, to
but then the text-field may not contain any single quote.
Is there a way to change the code so any type of quotes can be used in the text-field and there will be no error when front-end editing? The problem does not occur using backend editing!
Thanks,
Robin
I'm using chronoforms and chronoconnectivity (both latest versions) with Joomla 1.5.9.
The forms contains txtareas which are being edited using the Joomla editor. For frontend editing I'm using the following code to retrieve a text for editing:
<?php echo $editor->display("C_Reactie","{C_Reactie}","75%","100%", "55", "50", false ); ?>
where {C-Recatie} is the DB-field which is retrieved form the DB for editing at the frontend.
The parse error exist when the text in field 'C_recatie' contains double quotes. When I change this to single quotes the error disappears.
A solution would then be to change the above code, by using single quotes, to
<?php echo $editor->display('C_Reactie','{C_Reactie}','75%','100%', '55', '50', false ); ?>
but then the text-field may not contain any single quote.
Is there a way to change the code so any type of quotes can be used in the text-field and there will be no error when front-end editing? The problem does not occur using backend editing!
Thanks,
Robin