I have question in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
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

19th Jan 2017, 6:57 PM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar
5 Answers
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.
19th Jan 2017, 7:07 PM
Abraham Soeyler
Abraham Soeyler - avatar
0
ok
19th Jan 2017, 7:31 PM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar
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
20th Jan 2017, 9:26 AM
Uran Kajtazaj
Uran Kajtazaj - avatar
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
21st Jan 2017, 8:59 AM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar
0
btw i made the code work
3rd Feb 2017, 4:07 PM
Esraa Awad Alhaj Naem
Esraa Awad Alhaj Naem - avatar