|
Posted by Dave Nash on 01/11/07 12:26
On Thu, 11 Jan 2007 13:25:34 +0100, Arjen <dont@mail.me> wrote:
>> F:\\webserver\\2006_11_November\\morgan_sports\\images\\buttons\\morgan_sports_11.gifstring(85)
>> "F:\\webserver\\2006_11_November\\morgan_sports\\images\\buttons\\morgan_sports_11.gif"
>
>I know what's wrong :-)
>
>Take a good look at the var dump .. function and compare it with this
>
>$lala =array('name'=>'file.jpg');
>var_dump($lala);
>
>//array(1) { ["name"]=> string(8) "file.jpg" }
Lost me a bit.
heres the code I have. what needs changing.
$query="UPDATE categories SET catname='$ud_catname',
image='{$ud_image["name"]}', parentid='$parentid' WHERE
catid='$ud_catid'";
@mysql_select_db($database) or die( "Unable to select database");
mysql_query($query);
var_dump($ud_image);
var_dump($_FILES);
Navigation:
[Reply to this message]
|