macromedia COLDFUSION MX 7 Web Application Construction Kit [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

macromedia COLDFUSION MX 7 Web Application Construction Kit [Electronic resources] - نسخه متنی

Ben Forta, Raymond Camden, Leon Chalnick, Angela Buraglia

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید











  • Using Forms


    In Chapter 10, "Creating Data-Driven Pages," you learned how to create ColdFusion templates that dynamically display data retrieved from databases. The Films table has just 23 rows, so the data fit easily in a Web browser window and required only minimal scrolling.

    What do you do if you have hundreds or thousands of rows? Displaying all that data in one long list is impractical. Scrolling through lists of movies to find the one you want just doesn't work well. The solution is to enable users to search for what they want by specifying what they are looking for. You can allow them to enter a title, an actor's name, or part of the tag line. You can then display only the movies that meet the search criteria.

    To accomplish this, you need to do two things. First, you must create your search form using th260 <form> tags. Second, you must create a template that builds SQL SELECT statements dynamically based on the data collected and submitted by the form.

    Chapter 6, "Introducing SQL," for an explanation of the SELECT statement.


    • / 281