SpeedStreet
03-07-2003, 04:58 PM
I'm making some fairly massive changes to a Gallery hack located on this site. I need some help with a few pieces of code.
If anyone is willing to look over my code and tell me what I may be doing wrong, I would greatly appreciate it.
Thanks!
-- Here is the Code --
I am trying to write a check to see if the User currently has a subCategory created that is linked to their UserID. If the subCategory isn't there, then it will automatically generate one. From there, it will INSERT the image you had requested.
If you already have the subCategory created, then it will go about its business, inserting the image into the proper subCat.
The code is located in Modified in between the UPLOAD TEST comments towards the bottom of the file.
This hack, once the gallery changes are complete, will offer a free alternative to Photopost that will be extremely powerful and easy to use.
If anyone is willing to look over my code and tell me what I may be doing wrong, I would greatly appreciate it.
Thanks!
-- Here is the Code --
I am trying to write a check to see if the User currently has a subCategory created that is linked to their UserID. If the subCategory isn't there, then it will automatically generate one. From there, it will INSERT the image you had requested.
If you already have the subCategory created, then it will go about its business, inserting the image into the proper subCat.
The code is located in Modified in between the UPLOAD TEST comments towards the bottom of the file.
This hack, once the gallery changes are complete, will offer a free alternative to Photopost that will be extremely powerful and easy to use.