我正在为我的网站内容建立一个简单的CRUD网页,并想知道密码用户是否在显示确认信息的建筑职能方面有任何作用。
由于我将赋予用户从数据库中删除行文的能力,因此,在能够删除行文之前,将需要一个层次的确认。
如何以最佳方法/建议的方式来做到这一点? 我以前曾使用过javascript,但想知道是否有另一种方式?
我正在为我的网站内容建立一个简单的CRUD网页,并想知道密码用户是否在显示确认信息的建筑职能方面有任何作用。
由于我将赋予用户从数据库中删除行文的能力,因此,在能够删除行文之前,将需要一个层次的确认。
如何以最佳方法/建议的方式来做到这一点? 我以前曾使用过javascript,但想知道是否有另一种方式?
However, your only real options are to use a javascript confirm() dialogue or to direct the user to an intermediary page (another action in your CRUD controller) which provides the user with confirmation options.
如果你打算执行 Java字解决方案,你不妨考虑与javascript建立删除链接,那么,没有 Java字的用户就无法删除。 这有明显的下滑,但会防止使用者在不首先确认的情况下删除行文。
I have looked into trying to use the pagination class within codigniter but for my problem I need to paginate over an array of data and not a database table. In my code I create a custom array and ...
I am going to be builiding a site like ebay - with all the features of ebay. Please note my payment method is limited to paypal. What would be the best PHP framework to use to build this quickly, ...
Quick question about general MVC design principle in PHP, using CodeIgniter or Kohana (I m actually using Kohana). I m new to MVC and don t want to get this wrong... so I m wondering if i have ...
What is the best way to check session from a view in CodeIgniter, it shows no way in their user guide, otherwise I will have to make two views on everything, which is kinda weird...still a newbie to ...
I am using CodeIgniter 1.7.2 with XAMPP 1.7.2 on a Windows computer. I am trying to make use of SimplePie. I followed all the instructions I could find: a copy of simplepie.inc is in my applications/...
How do I stop CodeIgniter adding semicolons ; to data sent via POST that contains ampersand &? For example it is converting "a=1&b=2&c=3" into "a=1&b;=2&c;=3". From looking on the forums ...
I m working on an app in CodeIgniter, and I want to have admin pages for several of the objects in the application, and I m wondering what would be the better way to put these into an MVC structure. ...
I m using the form validation library and have something like this in the view <p> <label for="NAME">Name <span class="required">*</span></label> <?...