[PHP-DB] Variables not working within Functions

2003-10-15 Thread Adam Symonds
Hi, I am starting to us functions with my work but I am having troubles With the variables in the functions.. If I have the following function called from my page it will work but the variable won’t ($username) but if I put this code straight on the page then it works fine.. Any reason for the

[PHP-DB] Photo Gallery Comments.. NOT WORKING

2003-09-25 Thread Adam Symonds
Hi I have the following code which is a photo gallery, I have set it up so users can add comments to the photos, what I want to happen is in the gallery if a user has posted a comment on the photo, I want it to say comments under the photo in the gallery, I have tried doing this using IN_ARRAY