View Single Post
Old 05-02-2005, 11:13 AM   #23 (permalink)
trache
Insane
 
trache's Avatar
 
Quote:
My question is, why isn't $id2 showing brewery_11.jpg in the url I gave at the begining of htis post?
It seems as the though the problem is with the image paths in some way.
Quote:
if(file_exists(IMAGE_FS_PATH.$base.'/'.$base.'_'.$id.'jpg'))
You're missing a period before "JPG" -- your IF statement will ALWAYS be false!

Use the var_dump(), print_r() functions at any point in time to see the contents of a variable. It may help.
__________________
"You looked at me as if I was eating runny eggs in slow motion." - Gord Downie of The Tragically Hip

Last edited by trache; 05-02-2005 at 11:17 AM..
trache is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76