Hi everyone I'm wanderring if their is any way to create a folder name user id when user upload a img
And whenever he or she uploads another img
It goes directly to that folder

I'm new to php
Any help is appreciated

I assume you set session variable USERNAME OR USERID, when user logins
So same can be used as path for your folder when he upolads anything

$uploadpath="/webfolder/docfolder/{$_SESSION['USERID']}";
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.