Jump to content

Warning: implode() [function.implode]: Invalid arguments passed in


xlameee

Recommended Posts

Hi everyone

 

I need your help I've got this error

 

Warning: implode() [function.implode]: Invalid arguments passed in /home/XXXXXX/public_html/XXXXX/XXXXX/admin/index.php on line 265

EDIT PAGE : privacy_policy.php

 

here is the line 265

 

<TEXTAREA name="text" rows=20 cols=80>'.stripslashes(implode("",$text)).'</TEXTAREA>

 

 

Any advance can help me to fix that

 

Thank you

Nikolay

yes that

 

<?php

stripslashes($text);

 

implode("",$text);

?>

 

fix the error but I've got the problem now. This code is show me into the form box

 

when I clear the code and add my privacy policy text and hit update button the text is disappear and this code is shown again into the form box. then I'm checking the website privacy policy section

the text is there everything is OK but if know how to fix that will be better

 

Sorry Ken I'm still new in PHP  :(  I don't know what is the array  ???

 

 

Thank you

Nikolay

 

 

Sure

 

this is the form from line 263-267

 

<FORM action="index.php" method="POST">

<INPUT type="hidden" name="q" value="'.$q.'">

<TEXTAREA name="text" rows=20 cols=80>'.stripslashes(implode("",$text)).'</TEXTAREA>

<br><INPUT type="submit" name="submit" value="Save page">

</FORM>';

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.