intergrate 2 line

Hi;

How can I use these string in one line? I want to use these 2 string together in 1 line.

$formLayout = str_replace(‘rsfp_changePage(’,‘preV(’,$formLayout);
$formLayout = str_replace(‘rsfp_changePage(’, ‘rsfp_conditionalPage(’, $formLayout);

Best regards

um… unless i’m missing something that code is trying to change ‘rsfp_changePage(’ to TWO different replacements… are those lines working correctly on their own right now?

no, he’s trying run other functions inside str_replace, he’s just missing the second ) at the end.

Sponsor our Newsletter | Privacy Policy | Terms of Service