TAILIEUCHUNG - PHP and script.aculo.us Web 2.0 Application Interfaces- P8

PHP and Web Application Interfaces- P8: là một thư viện JavaScript cung cấp các hiệu ứng thị giác năng động, điều khiển giao diện người dùng, và các tính năng mạnh mẽ AJAX. Đó là những gì phụ-client PHP là phía máy chủ - mạnh mẽ, đơn giản, vui vẻ hoàn tất, và trên tất cả, PHẢI một! Theo các nhà phát triển, chúng tôi tất cả ước mơ xây dựng các ứng dụng mà người sử dụng ngay lập tức có thể rơi vào tình yêu với và nhận được hiệu quả. Đơn giản và các. | Chapter 11 Now when the user submits a tutorial an alert message will be displayed to the user. If the tutorial does not exist the next page will be shown where the user can add the title description and tags. Adding title description and tags to the tutorial Now that the user has submitted the tutorial and we have checked that the tutorial does not exist already it s time to add the title description and tags to the newly added tutorial through . Let s first quickly create a user interface to add the title description and tags. div class add-details-div form action method POST span class details-text Enter a title for the tutorial span br input class submit-url type text name title br span class details-text Enter description for the tutorial span br span class submit-url input type text name desc span 199 Creating Delicious and Digg Bookmarks Manager P span class details-text Enter Tags for the tutorial span br span class submit-url input type text name tags span input type hidden name tutorialID value php echo tutorialID p input name submitDetails class submit-button type submit value Submit now form div The user interface for is shown in the following screenshot This page will be available to the user only when the session is valid. 200 Chapter 11 We will read the user ID through _session and the details of the tutorials posted by the user using _post. ownerid _SESSION uid tutorialID _POST tutorialID title _POST title desc _POST desc tags _POST tags We have all the details of the tutorials. So let s update the same in the database. In the tutorials class we have a function for adding the tutorials description called add_tutorial_desc title desc tutorialID . function add_tutorial_desc title desc tutorialID query UPDATE tutorials SET tutorial_title . title . tutorial_desc . desc. WHERE tutorialID . tutorialID return query We will insert the details of the tutorials using the query as follows query UPDATE

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.