473,395 Members | 1,999 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Query string testing

Hi

I am working on a site to provide displaying and navigation of images from
several groups and have the following code that changes to displayed gif
based on the query string passed in:
Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image 04,
Max 28</a>

<%

grp = request.QueryString("group")
img = request.QueryString("image")

max = request.QueryString("max")
%>

<html>
<head>
<title>ShowImage</title>
</head>
<body MS_POSITIONING="GridLayout">

<form id="Form1" method="post" runat="server">
<img src="images/<%=grp%><%=img%>.bmp">

</form>

</body>
</html>

My plan is to load the page with an image from a collection and allow the
user to navigate between the images in the collection using Next and
Previous buttons.

Is there anyway to do something like the following?

if not [image] = 01 then
'show the previous button
elseif not [image] = [max] then
'show the next button
end if

Also, is it possible to add or subtract 1 for the next and the previous
links based on the image value?

{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]

Regards, Carl Gilbert
Jul 22 '05 #1
10 1746
How do you want to start? Can the user choose the group and the first
record? Or only the group? And how do you calculate the max parameter. Or
the pictures by group in one folder or all the pictures of all the groups in
one folder? How are the pictures named ?

Maarten.
Jul 22 '05 #2
{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin
g("image") +1)%>
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin
g("image") -1)%>

Obviously, the above assumes the image is held in the "image" querystring.
You'd additionally need to replace [group] with
<%request.querystring("group")%> (assuming your querystring is called
"group")

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#o**************@tk2msftngp13.phx.gbl...
Hi

I am working on a site to provide displaying and navigation of images from
several groups and have the following code that changes to displayed gif
based on the query string passed in:
Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image 04,
Max 28</a>

<%

grp = request.QueryString("group")
img = request.QueryString("image")

max = request.QueryString("max")
%>

<html>
<head>
<title>ShowImage</title>
</head>
<body MS_POSITIONING="GridLayout">

<form id="Form1" method="post" runat="server">
<img src="images/<%=grp%><%=img%>.bmp">

</form>

</body>
</html>

My plan is to load the page with an image from a collection and allow the
user to navigate between the images in the collection using Next and
Previous buttons.

Is there anyway to do something like the following?

if not [image] = 01 then
'show the previous button
elseif not [image] = [max] then
'show the next button
end if

Also, is it possible to add or subtract 1 for the next and the previous
links based on the image value?

{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]

Regards, Carl Gilbert

Jul 22 '05 #3
This looks good cheers. Unfortunately I got back the following error:

"Variable uses an Automation type not supported in vbscript: 'CLng'"


"Steven Burn" <pv*@noyb.com> wrote in message
news:ea****************@TK2MSFTNGP15.phx.gbl...
{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin
g("image") +1)%>
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin
g("image") -1)%>

Obviously, the above assumes the image is held in the "image" querystring.
You'd additionally need to replace [group] with
<%request.querystring("group")%> (assuming your querystring is called
"group")

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#o**************@tk2msftngp13.phx.gbl...
Hi

I am working on a site to provide displaying and navigation of images
from
several groups and have the following code that changes to displayed gif
based on the query string passed in:
Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image
04,
Max 28</a>

<%

grp = request.QueryString("group")
img = request.QueryString("image")

max = request.QueryString("max")
%>

<html>
<head>
<title>ShowImage</title>
</head>
<body MS_POSITIONING="GridLayout">

<form id="Form1" method="post" runat="server">
<img src="images/<%=grp%><%=img%>.bmp">

</form>

</body>
</html>

My plan is to load the page with an image from a collection and allow the
user to navigate between the images in the collection using Next and
Previous buttons.

Is there anyway to do something like the following?

if not [image] = 01 then
'show the previous button
elseif not [image] = [max] then
'show the next button
end if

Also, is it possible to add or subtract 1 for the next and the previous
links based on the image value?

{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]

Regards, Carl Gilbert


Jul 22 '05 #4
The images are named as follows:

[group]
[images]

01
01, 02, 03, 04, .... 28
02
01, 02, 03, 04, .... 18

I am providing a thumbnail view of all the images so I know the image and
the group selected. I will also know the max number of images in the group.

So I would then pass in the selected group image along with the number
ofimages in that group. From the image and group I am going:

<img src="images/<%=grp%><&=img%>.bmp">

Which would return something like 'images/0205.bmp' where the images are
numbered [group][image].bmp
eg
0101.bmp
0102.bmp
etc

Regards, Carl
"Maarten" <pl****@no-mail.com> wrote in message
news:mi*********************@phobos.telenet-ops.be...
How do you want to start? Can the user choose the group and the first
record? Or only the group? And how do you calculate the max parameter. Or
the pictures by group in one folder or all the pictures of all the groups
in one folder? How are the pictures named ?

Maarten.

Jul 22 '05 #5
My fault..... change

<%Clng(

to

<%=Clng(

......and the problem should disappear. (Clng works fine for me on the site's
I've used it on, so the missing "=" is the only thing I can think of)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#0**************@TK2MSFTNGP09.phx.gbl...
This looks good cheers. Unfortunately I got back the following error:

"Variable uses an Automation type not supported in vbscript: 'CLng'"


"Steven Burn" <pv*@noyb.com> wrote in message
news:ea****************@TK2MSFTNGP15.phx.gbl...
{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin g("image") +1)%>
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin g("image") -1)%>

Obviously, the above assumes the image is held in the "image" querystring. You'd additionally need to replace [group] with
<%request.querystring("group")%> (assuming your querystring is called
"group")

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#o**************@tk2msftngp13.phx.gbl...
Hi

I am working on a site to provide displaying and navigation of images
from
several groups and have the following code that changes to displayed gif based on the query string passed in:
Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image
04,
Max 28</a>

<%

grp = request.QueryString("group")
img = request.QueryString("image")

max = request.QueryString("max")
%>

<html>
<head>
<title>ShowImage</title>
</head>
<body MS_POSITIONING="GridLayout">

<form id="Form1" method="post" runat="server">
<img src="images/<%=grp%><%=img%>.bmp">

</form>

</body>
</html>

My plan is to load the page with an image from a collection and allow the user to navigate between the images in the collection using Next and
Previous buttons.

Is there anyway to do something like the following?

if not [image] = 01 then
'show the previous button
elseif not [image] = [max] then
'show the next button
end if

Also, is it possible to add or subtract 1 for the next and the previous
links based on the image value?

{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]

Regards, Carl Gilbert



Jul 22 '05 #6
That works great cheers.

By doing the conversion on the image number, it means it retruns 2 rather
than 02.
This isn't a major problem, just means I will have to re-structure my image
names.

Regards, Carl
"Steven Burn" <pv*@noyb.com> wrote in message
news:uJ****************@TK2MSFTNGP12.phx.gbl...
My fault..... change

<%Clng(

to

<%=Clng(

.....and the problem should disappear. (Clng works fine for me on the
site's
I've used it on, so the missing "=" is the only thing I can think of)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#0**************@TK2MSFTNGP09.phx.gbl...
This looks good cheers. Unfortunately I got back the following error:

"Variable uses an Automation type not supported in vbscript: 'CLng'"


"Steven Burn" <pv*@noyb.com> wrote in message
news:ea****************@TK2MSFTNGP15.phx.gbl...
> {NEXT LINK}
> http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin > g("image") +1)%>
> {PREVIOUS LINK}
> http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin > g("image") -1)%>
>
> Obviously, the above assumes the image is held in the "image" querystring. > You'd additionally need to replace [group] with
> <%request.querystring("group")%> (assuming your querystring is called
> "group")
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
> news:#o**************@tk2msftngp13.phx.gbl...
>> Hi
>>
>>
>>
>> I am working on a site to provide displaying and navigation of images
>> from
>> several groups and have the following code that changes to displayed gif >> based on the query string passed in:
>>
>>
>> Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image
>> 04,
>> Max 28</a>
>>
>>
>>
>> <%
>>
>> grp = request.QueryString("group")
>> img = request.QueryString("image")
>>
>> max = request.QueryString("max")
>> %>
>>
>>
>>
>> <html>
>> <head>
>> <title>ShowImage</title>
>> </head>
>> <body MS_POSITIONING="GridLayout">
>>
>>
>>
>> <form id="Form1" method="post" runat="server">
>> <img src="images/<%=grp%><%=img%>.bmp">
>>
>> </form>
>>
>>
>>
>> </body>
>> </html>
>>
>>
>>
>> My plan is to load the page with an image from a collection and allow the >> user to navigate between the images in the collection using Next and
>> Previous buttons.
>>
>>
>>
>> Is there anyway to do something like the following?
>>
>>
>>
>> if not [image] = 01 then
>> 'show the previous button
>> elseif not [image] = [max] then
>> 'show the next button
>> end if
>>
>>
>>
>> Also, is it possible to add or subtract 1 for the next and the
>> previous
>> links based on the image value?
>>
>> {NEXT LINK}
>> http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
>> {PREVIOUS LINK}
>> http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]
>>
>>
>>
>> Regards, Carl Gilbert
>>
>>
>
>



Jul 22 '05 #7
So now thaks to Steven Burn I now have to code to build the links to move to
the next or the previous image in a collection.

My second question now is, how can I dynamically show these links based on a
simple rule?

if not <%=img%> = 1 then
<a
href="ShowImage.aspx?group=<%=grp%>&image=<%=CLng( request.QueryString("image")-1)%>">PREVIOUS</a>
elseif not <%=img%> = <%=max%> then
<a
href="ShowImage.aspx?group=<%=grp%>&image=<%=CLng( request.QueryString("image")
+1)%>">NEXT</a>
end if

Obviously the above code is more VB than anything else, but is something
like this possibly is ASP?

Regards, Carl

"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi

I am working on a site to provide displaying and navigation of images from
several groups and have the following code that changes to displayed gif
based on the query string passed in:
Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image 04,
Max 28</a>

<%

grp = request.QueryString("group")
img = request.QueryString("image")

max = request.QueryString("max")
%>

<html>
<head>
<title>ShowImage</title>
</head>
<body MS_POSITIONING="GridLayout">

<form id="Form1" method="post" runat="server">
<img src="images/<%=grp%><%=img%>.bmp">

</form>

</body>
</html>

My plan is to load the page with an image from a collection and allow the
user to navigate between the images in the collection using Next and
Previous buttons.

Is there anyway to do something like the following?

if not [image] = 01 then
'show the previous button
elseif not [image] = [max] then
'show the next button
end if

Also, is it possible to add or subtract 1 for the next and the previous
links based on the image value?

{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]

Regards, Carl Gilbert

Jul 22 '05 #8
<%
if Clng(img) > 1 then
%>
<a
href="ShowImage.aspx?group=<%=grp%>&image=<%=CLng( request.QueryString("image
")-1)%>">PREVIOUS</a>
<%
end if
if not Clng(img) = Clng(max) then
%>
<a
href="ShowImage.aspx?group=<%=grp%>&image=<%=CLng( request.QueryString("image
")
+1)%>">NEXT</a>
<%
end if
%>

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:OM*************@TK2MSFTNGP11.phx.gbl...
So now thaks to Steven Burn I now have to code to build the links to move to the next or the previous image in a collection.

My second question now is, how can I dynamically show these links based on a simple rule?

if not <%=img%> = 1 then
<a
href="ShowImage.aspx?group=<%=grp%>&image=<%=CLng( request.QueryString("image
")-1)%>">PREVIOUS</a> elseif not <%=img%> = <%=max%> then
<a
href="ShowImage.aspx?group=<%=grp%>&image=<%=CLng( request.QueryString("image
") +1)%>">NEXT</a>
end if

Obviously the above code is more VB than anything else, but is something
like this possibly is ASP?

Regards, Carl

"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:%2******************@tk2msftngp13.phx.gbl...
Hi

I am working on a site to provide displaying and navigation of images from several groups and have the following code that changes to displayed gif
based on the query string passed in:
Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image 04, Max 28</a>

<%

grp = request.QueryString("group")
img = request.QueryString("image")

max = request.QueryString("max")
%>

<html>
<head>
<title>ShowImage</title>
</head>
<body MS_POSITIONING="GridLayout">

<form id="Form1" method="post" runat="server">
<img src="images/<%=grp%><%=img%>.bmp">

</form>

</body>
</html>

My plan is to load the page with an image from a collection and allow the user to navigate between the images in the collection using Next and
Previous buttons.

Is there anyway to do something like the following?

if not [image] = 01 then
'show the previous button
elseif not [image] = [max] then
'show the next button
end if

Also, is it possible to add or subtract 1 for the next and the previous
links based on the image value?

{NEXT LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max]
{PREVIOUS LINK}
http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max]

Regards, Carl Gilbert


Jul 22 '05 #9
Seems easier to fix the conversion function that change all your filenames
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#w**************@tk2msftngp13.phx.gbl...
That works great cheers.

By doing the conversion on the image number, it means it retruns 2 rather
than 02.
This isn't a major problem, just means I will have to re-structure my image names.

Regards, Carl
"Steven Burn" <pv*@noyb.com> wrote in message
news:uJ****************@TK2MSFTNGP12.phx.gbl...
My fault..... change

<%Clng(

to

<%=Clng(

.....and the problem should disappear. (Clng works fine for me on the
site's
I've used it on, so the missing "=" is the only thing I can think of)

--

Regards

Steven Burn
Ur I.T. Mate Group
www.it-mate.co.uk

Keeping it FREE!
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#0**************@TK2MSFTNGP09.phx.gbl...
This looks good cheers. Unfortunately I got back the following error:

"Variable uses an Automation type not supported in vbscript: 'CLng'"

"Steven Burn" <pv*@noyb.com> wrote in message
news:ea****************@TK2MSFTNGP15.phx.gbl...
> {NEXT LINK}
>

http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin
> g("image") +1)%>
> {PREVIOUS LINK}
>

http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin
> g("image") -1)%>
>
> Obviously, the above assumes the image is held in the "image"

querystring.
> You'd additionally need to replace [group] with
> <%request.querystring("group")%> (assuming your querystring is called
> "group")
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
> news:#o**************@tk2msftngp13.phx.gbl...
>> Hi
>>
>>
>>
>> I am working on a site to provide displaying and navigation of images >> from
>> several groups and have the following code that changes to displayed

gif
>> based on the query string passed in:
>>
>>
>> Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image >> 04,
>> Max 28</a>
>>
>>
>>
>> <%
>>
>> grp = request.QueryString("group")
>> img = request.QueryString("image")
>>
>> max = request.QueryString("max")
>> %>
>>
>>
>>
>> <html>
>> <head>
>> <title>ShowImage</title>
>> </head>
>> <body MS_POSITIONING="GridLayout">
>>
>>
>>
>> <form id="Form1" method="post" runat="server">
>> <img src="images/<%=grp%><%=img%>.bmp">
>>
>> </form>
>>
>>
>>
>> </body>
>> </html>
>>
>>
>>
>> My plan is to load the page with an image from a collection and allow
the
>> user to navigate between the images in the collection using Next and
>> Previous buttons.
>>
>>
>>
>> Is there anyway to do something like the following?
>>
>>
>>
>> if not [image] = 01 then
>> 'show the previous button
>> elseif not [image] = [max] then
>> 'show the next button
>> end if
>>
>>
>>
>> Also, is it possible to add or subtract 1 for the next and the
>> previous
>> links based on the image value?
>>
>> {NEXT LINK}
>>

http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max] >> {PREVIOUS LINK}
>> http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max] >>
>>
>>
>> Regards, Carl Gilbert
>>
>>
>
>



Jul 22 '05 #10
I haven't finished naming all my files yet so I will just change the ones I
have already done and do the same with the rest.

Cheers
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message
news:uH**************@TK2MSFTNGP09.phx.gbl...
Seems easier to fix the conversion function that change all your filenames
"Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
news:#w**************@tk2msftngp13.phx.gbl...
That works great cheers.

By doing the conversion on the image number, it means it retruns 2 rather
than 02.
This isn't a major problem, just means I will have to re-structure my

image
names.

Regards, Carl
"Steven Burn" <pv*@noyb.com> wrote in message
news:uJ****************@TK2MSFTNGP12.phx.gbl...
> My fault..... change
>
> <%Clng(
>
> to
>
> <%=Clng(
>
> .....and the problem should disappear. (Clng works fine for me on the
> site's
> I've used it on, so the missing "=" is the only thing I can think of)
>
> --
>
> Regards
>
> Steven Burn
> Ur I.T. Mate Group
> www.it-mate.co.uk
>
> Keeping it FREE!
>
>
> "Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
> news:#0**************@TK2MSFTNGP09.phx.gbl...
>> This looks good cheers. Unfortunately I got back the following error:
>>
>> "Variable uses an Automation type not supported in vbscript: 'CLng'" >>
>>
>>
>>
>> "Steven Burn" <pv*@noyb.com> wrote in message
>> news:ea****************@TK2MSFTNGP15.phx.gbl...
>> > {NEXT LINK}
>> >
> http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin >> > g("image") +1)%>
>> > {PREVIOUS LINK}
>> >
> http://whatever/ShowImage.aspx?group=[group]&imgId=<%CLng(request.querystrin >> > g("image") -1)%>
>> >
>> > Obviously, the above assumes the image is held in the "image"
> querystring.
>> > You'd additionally need to replace [group] with
>> > <%request.querystring("group")%> (assuming your querystring is
>> > called
>> > "group")
>> >
>> > --
>> >
>> > Regards
>> >
>> > Steven Burn
>> > Ur I.T. Mate Group
>> > www.it-mate.co.uk
>> >
>> > Keeping it FREE!
>> >
>> >
>> > "Carl Gilbert" <cn*@newsgroup.nospam> wrote in message
>> > news:#o**************@tk2msftngp13.phx.gbl...
>> >> Hi
>> >>
>> >>
>> >>
>> >> I am working on a site to provide displaying and navigation of images >> >> from
>> >> several groups and have the following code that changes to
>> >> displayed
> gif
>> >> based on the query string passed in:
>> >>
>> >>
>> >> Call: <a href="ShowImage.asp?group=01&image=01&max=28">Grou p 01, Image >> >> 04,
>> >> Max 28</a>
>> >>
>> >>
>> >>
>> >> <%
>> >>
>> >> grp = request.QueryString("group")
>> >> img = request.QueryString("image")
>> >>
>> >> max = request.QueryString("max")
>> >> %>
>> >>
>> >>
>> >>
>> >> <html>
>> >> <head>
>> >> <title>ShowImage</title>
>> >> </head>
>> >> <body MS_POSITIONING="GridLayout">
>> >>
>> >>
>> >>
>> >> <form id="Form1" method="post" runat="server">
>> >> <img src="images/<%=grp%><%=img%>.bmp">
>> >>
>> >> </form>
>> >>
>> >>
>> >>
>> >> </body>
>> >> </html>
>> >>
>> >>
>> >>
>> >> My plan is to load the page with an image from a collection and allow > the
>> >> user to navigate between the images in the collection using Next
>> >> and
>> >> Previous buttons.
>> >>
>> >>
>> >>
>> >> Is there anyway to do something like the following?
>> >>
>> >>
>> >>
>> >> if not [image] = 01 then
>> >> 'show the previous button
>> >> elseif not [image] = [max] then
>> >> 'show the next button
>> >> end if
>> >>
>> >>
>> >>
>> >> Also, is it possible to add or subtract 1 for the next and the
>> >> previous
>> >> links based on the image value?
>> >>
>> >> {NEXT LINK}
>> >> http://whatever/ShowImage.aspx?group=[group]&imgId=[image]+1&max=[max] >> >> {PREVIOUS LINK}
>> >> http://whatever/ShowImage.aspx?group=[group]&imgId=[image]-1&max=[max] >> >>
>> >>
>> >>
>> >> Regards, Carl Gilbert
>> >>
>> >>
>> >
>> >
>>
>>
>
>



Jul 22 '05 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: frizzle | last post by:
Hi there I'm building this CMS, and at a point i have 3 similar drop downs. The values of the drop downs are called from a MysqlDB. The first one is just fine: do{ $selected = ($_GET ==...
13
by: John young | last post by:
I have been looking for an answer to a problem and have found this group and hope you can assist . I have been re doing a data base I have made for a car club I am with and have been trying to...
8
by: Jim in Arizona | last post by:
I've been using an example out of a book to be able to edit the rows in a database. I am getting the following error: ========================================================...
30
by: Paul H | last post by:
I seem to end up with loads of append and update queries just because it's quick and easy to build queries or make a new ones based on an existing query. But I end up with loads of queries with...
12
by: si_owen | last post by:
Hi all, I have a SQL query that worked fine in my project until it came to testing. I found that the NvarChar fields I have wont accept the use of an ' My code and query is here does anyone...
8
by: SaltyBoat | last post by:
Needing to import and parse data from a large PDF file into an Access 2002 table: I start by converted the PDF file to a html file. Then I read this html text file, line by line, into a table...
7
by: bruce.dodds | last post by:
Access seems to be handling a date string conversion inconsistently in an append query. The query converts a YYYYMM string into a date, using the following function: CDate(Right(,2) & "/1/" &...
1
by: acehigh1983 | last post by:
hi i have been writting some HTML code and i have a web page that sends a username and password via a form post (can also use get) to another HTML page. I need to get the variables out of the query...
5
by: jennwilson | last post by:
Using Access 2000 - I have a query that is suppose to return the records from table within specified time range and find matching data from another table . Table houses Clinician name, location...
5
by: =?Utf-8?B?QW5kcmV3?= | last post by:
Hello, friends, I am testing our website (in 2003.net, c#) application. Sometimes there more values in Querystring, like ...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.