This is with regard to an earlier thread I submitted.
Can variable hold graphics. I now have this working with the help of you guys but I am doing something very stupid here and I don't know what.
this is the code I am using to set my variable
$var1 = hello.gif;
hello.gif is in the same directory as the calling script which is 2 sub-directories down from my root. i.e
root\rec\php\hello.php
root\rec\php\hello.gif
I want to store the hello.gif file in a directory for my gif file i.e
root\gif\hello.gif
I have tried all ways to get this to work, like the following:
- $var1 = "img src=../../Gif/hello.gif";
- $var1 = "img src="../../gif/hello.gif"";
Yes I know I am having a stupid day.
Can anyone tell me the correct code for this, many thanks.
DCJ