|
Posted by ste on 11/19/19 11:46
"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:e3134t$3bg$1@netlx020.civ.utwente.nl...
> ste wrote:
>>> echo "\n\t\t<td><img src=\".$row['imagelocation']." /></td>";
>> When I first ran it, I had a message saying "Parse error: parse error,
>> unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or
>> T_VARIABLE or T_NUM_STRING" on the line containing the code
>> 'imagelocation' above.
>
>
> It should offcourse be:
> echo "\n\t\t<td><img src=\"".$row['imagelocation']."\" /></td>";
>
> --
> Rik Wasmus
Thanks Rik, I've now updated it.
Now when I open this page: mywebsite.com/gallery.php?imagetype=landscape
it opens all the images from my database which are tagged with the category
of landscape.
Likewise, going to the url: mywebsite.com/gallery.php?imagetype=portrait
it opens all the images from my database which are tagged with the category
of portrait.
Is there a way to open the gallery showing ALL pictures, without having to
re-write the sql query? i.e. is there a tag I can enter in a URL which
displays images where the imagetype could literally be anything?
mywebsite.com/gallery.php?imagetype=anything
If there is such a term, I haven't been able to find it, but thought I'd ask
anyway in case you knew otherwise.
Thanks,
Ste
Navigation:
[Reply to this message]
|