No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
2 Posted Topics
This is something I have avoided for the longest time......and now I need a bit of help ??? What I am trying to do is simply build a recursive array based on parent->child, the recursion comes when their is the possibility to add any number of sub-children to sub-children so …
Very simple. On your form tag and this enctype="mulitpart/form-data" add to your form <input type="file" name="image" /> On your posting page [code=php] // You get the image using this $imageTMP = $_FILES['image']['tmp_name']; move_uploaded_file($imageTMP, 'YOUR UPLOAD DIR'.$_FILES['image']['name']); $imageName = $_FILES['image']['name'] // Insert image name into database [/code] :)
The End.
ioan1k