Note that there are some explanatory texts on larger screens.

plurals
  1. POPHP case errors
    primarykey
    data
    text
    <pre><code>Line 9: Parse error: syntax error, unexpected T_CASE: line:"case "reinstall" </code></pre> <p>Code:</p> <pre><code> if ( check_permissions( "hardware_info", "" ) ) { $link_hardware_info = link_to( $label = $singlerow_hardware['display'], $path = "hardware/info/{$singlerow_setup['hardware_id']}" ); $col2_array[] = li_links( "{$img_arrow_up} {$link_hardware_info}" ); } break; case "reinstall" : do { $module_page_title = translate_text( "tpl_store_reinstall" ); $singlerow_install = query_singlerow( $table = "store_installs", "`id` = '{$load_module_id}'" ); $singlefield_hardware_id = query_singlefield( $table = "store_setups", "hardware_id", "`id` = '{$singlerow_install['setup_id']}'" ); $label_display_store = query_singlefield( $table = "store_produts", "display", "`id` = '{$singlerow_install['product_id']}'" ); $link_information_up = link_to( $label = $label_display_produtct, $link = "installs/info/{$load_module_id}" ); $col2_array[] = li_links( "{$img_arrow_up} {$link_information_up}" ); $dbform_array['file_id'] = $singlerow_install['file_id']; $html_main .= form_default( $path = "installs/reinstall/{$load_module_id}" ); $html_main .= form_fieldset( ); $html_main .= form_legend( $legend = translate_text( "tpl_auto_install" )." ".translate_text( "tpl_package" ) ); if ( !empty( $postdata_valid['file_id'] ) ) { $setup_type = query_singlefield( $table = "store_files", "setup", "`id` = '{$postdata_valid['file_id']}'" ); if ( $setup_type == "archive" ) { $link_store_reinstall_id = squeezebox( $label = translate_text( "tpl_store_reinstall", "lower" ), $link = "connect/reinstall/{$load_module_id}/?reinstall_file_id={$postdata_valid['file_id']}" ); } </code></pre> <p>I already have try whith another solution but not worked,</p> <pre><code>case "reinstall":do_function_reinstall();do_function_reinstall(); break;function do_function_reinstall(); </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload