0
I have question in php
i made image upload code but i want to restore the user id that make the upload to the database i used my sql
5 Respostas
0
Is it possible to upload your code here? It's really hard to help remotely at all, but without exactly defining the problem AND having no code, it's impossible.
0
ok
0
you can create a table specifically for photos, with 2 columns, userID and userPhoto.
the retreive the data based on the userID
select userPhoto from table
where userID = 5
0
iam trying to pass the user id using session then use the session to store the user id in the data base ,session is my problem
0
btw i made the code work