1) the file field in your form does not have a name attribute:
instead of:
<input type="file" id="User_Update_group_Photo">
it should be:
<input type="file" id="photoUplaod" name="photoUplaod">
the file field will need a name, and it should be a unique name, not the same as is used by the hidden form element
2) the hidden form element should have the initial value set to use the Photo column of the SecurityAssistpcms2users recordset.
instead of:
[php]<input name="User_Update_group_Photo" type="hidden">[php]
it should be:
<input name="User_Update_group_Photo" id="User_Update_group_Photo" type="hidden" value="<?php echo $row_SecurityAssistpcms2users['Photo']; ?>">
make sure the hidden element is not inside the if statement that hides the file field like it is now.
3) In the file upload behavior, set the file field to use the photoUpload field.
---
If there is still a problem, we will need to add code to troubleshoot.
add the following code at line 1 to turn on error reporting:
<?php
error_reporting(E_ALL);
ini_set('display_errors','on');
?>
open the bindings panel and expand the WA Uploaded files Global Status group and add the Debug info binding to the page.
add the following code just before the </body> tag:
<?php
echo("SQL: ".$WA_Sql)."<br />");
echo("<pre>");
var_dump($_FILES);
echo("</pre>");
?>
and post back the results after trying the upload again.