Hi all--I'm totally stuck on this one. I've got a small CMS that needs file uploads. I know the code and it's working fine elsewhere, but I keep getting errors on this one.
I have a button that calls a piece of javascript to reveal the upload field and turn text into input fields. I'm getting the following type error:PHP Code:<tr id='doc_<?=$id?>' style="background:<?=$bgcolor?>;display:none;">
<td></td>
<td style="border-top:1px solid #fff">PDF plan</td>
<td colspan="3" style="border-top:1px solid #fff" id="file_<?=$id?>"><input type="file" name="photo_<?=$id?>" id="photo_<?=$id?>" /></td>
<td id='save_<?=$id?>' class='edit' align="right"></td>
</tr>
Notice: Undefined index: photo_459 in C:\Inetpub\wwwroot\ogilvy\admin\directives\lots.php on line 15
[screencap] http://img.skitch.com/20080528-1d2ut...4fj1hw178n.jpg


Reply With Quote
Bookmarks