|
#1
|
||||
|
||||
|
I am working on an addon which uses an admin workspace. After a successful upload, I need the id of that image.
Is this variable available? I tried using $theid but it is empty. Any ideas on how I can get this value? |
|
#2
|
||||
|
||||
|
Are you trying to access $theid within a function? try adding global $theid; to your function.
PHP Code:
__________________
Pixelpost Documentation | Visual Pixels | My Addons | Transition Bottlerocket Fund |
|
#3
|
||||
|
||||
|
Yeah I tried that but it still returns an empty value. Other variables seem to work ok but not that one.
|
|
#4
|
||||
|
||||
|
I got it working now - I was using the wrong function which did not have that value available yet.
|
| Post Reply |
| Thread Tools | |
|
|