Jump to content

Upload script - help needed.


Imrie

Recommended Posts

Sorry forget that^^^^^^^^^^^^^^^^^ this is the error:

 

Parse error: syntax error, unexpected T_ELSE in /home/fhlinux164/m/mysimtractor.com/user/htdocs/test.php on line 131

 

line 131 is:

////////////////////////////////////////////////////////////////////////////////
//else if the form didn't submitted then show it.
else{
    echo " <h3>Select files to upload!.</h3>
           Max file size = ". $size_bytes / 151024 ." KB";
    echo " <form method="post" action="$_SERVER[php_SELF]" enctype="multipart/form-data">";
    echo " <select name="options">
        <option value="CLAAS_Cougar ">CLAAS_Cougar </option>
        <option value="CLAAS_Disco ">CLAAS_Disco </option>

 

 

(else{)

 

thanks,

the following doesn't make sense

 

       }
       
       echo "»<a href='".$_SERVER['PHP_SELF']."'>back</a>";

////////////////////////////////////////////////////////////////////////////////
//else if the form didn't submitted then show it.
else{

 

what are you trying to do here ?

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.