Posted by David on 01/09/07 23:54
HI,
Ive created a script which uploads an image to a folder whilst adding
the info to a db. This works fine.
but when Ive created a script to edit this entry in the db it seems to
cutoff a lot of the characters of the filename.
for example.
the file as it appears in the file field is
F:\webserver\images\16466.gif
but when I look into the db entry it only says 'F' Which I asume is
the first character of the file path.
here is the query ive used.
$query="UPDATE categories SET catname='$ud_catname',
image='{$ud_image["name"]}' WHERE catid='$ud_catid'";
Thanks in advance
david.
[Back to original message]
|