php form input file question

expert i have a form which as below:

Name name

Image


insertName($posted);

function…

$db->query("insert into sometable (name,imageurl) values ($data[yourname]) . “’,’” . $data[imageurl][name] . “’)”);

it never pass the upload file imagename, please help.

How about you post the full PHP script so we can see what it is doing?

why are you create an array of your form values in “posted”? _POST already does this on receipt…

Sponsor our Newsletter | Privacy Policy | Terms of Service