Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

select only one record

LEGEND ,
May 28, 2008 May 28, 2008
I have a MySQL table with multiple records. Fields include:
id
title
text
imageName
imageOfWeek

I would like to set up a system that would allow my client to select one and
only one record (record of the week) to display on a web page. Then next
week select a different record of the week.

Now my question: Is there a simple way to ensure that last weeks record is
deselected at the same time this weeks record is selected?

Jeff



TOPICS
Server side applications
211
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 28, 2008 May 28, 2008
LATEST
I figured a method using a hidden form elements with a default value to
deselect the old record of the week before moving on to a new edit page to
select a new record of the week or adding additional records to the
database..

Jeff

"Jeff" <jeffs@NoSpamLamSam.com> wrote in message
news:g1jjal$q3o$1@forums.macromedia.com...
>I have a MySQL table with multiple records. Fields include:
> id
> title
> text
> imageName
> imageOfWeek
>
> I would like to set up a system that would allow my client to select one
> and only one record (record of the week) to display on a web page. Then
> next week select a different record of the week.
>
> Now my question: Is there a simple way to ensure that last weeks record is
> deselected at the same time this weeks record is selected?
>
> Jeff
>
>
>


Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines