Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~200 People Reached
Favorite Forums
Favorite Tags

2 Posted Topics

Member Avatar for ioan1k

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 …

Member Avatar for ioan1k
0
103
Member Avatar for Syntax12

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] :)

Member Avatar for ioan1k
0
97

The End.