[PHP] File upload problem

2003-02-01 Thread Tomator
I tried but I can't upload any file. My form and code are as following:




File:



 





[PHP] Re: Can anyone help me? i'm getting crazy... : |

2003-02-03 Thread Tomator
User "Mr. Bungl3" <[EMAIL PROTECTED]> wrote:
> I'm trying to delete a some records from a table with checkboxes and then
i
> have this code:
>
$sql="DELETE FROM divx where id=".$del[$i]."";

Great idea, but when checkbox is checked, variable of it's name just becomes
true (doesn't get value of it's index anyway). So, I'd write it this way:

if ($del[$i]) {
  $sql="DELETE FROM divx WHERE id='".$i."'";
  mysql_query...;
}



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php