PHP coding issues with echo

Here is an excerpt of my code:

[php]$table->construct_cell("{$lang->save_method}
\n{$lang->save_method_desc}
<div class=“form_row”>"."
\n".$form->generate_radio_button(“method”, “disk”, $lang->backup_directory, array(‘checked’ => 1)) .echo"Get_Pikos Place Premium to download your own backups!"."", array(‘width’ => ‘50%’));[/php]

I get this message when i go to the page:

“Parse error: syntax error, unexpected ‘;’ in …mybb/admin/modules/tools/backupdb.php on line 380”
I shortened the directory by adding the “…”

Construct_cell is a method that appears to accept 3 parameters

You’re trying to pass in an echo, which doesn’t make any sense to me. I think you should just remove the echo statement. That way you are passing in a string, which I think was intended to be passed it.

[php]$table->construct_cell("{$lang->save_method}
\n{$lang->save_method_desc}
<div class=“form_row”>"."
\n".$form->generate_radio_button(“method”, “disk”, $lang->backup_directory, array(‘checked’ => 1)) . “Get_Pikos Place Premium to download your own backups!”."", array(‘width’ => ‘50%’));
[/php]

Sponsor our Newsletter | Privacy Policy | Terms of Service