lets say i have a cms and i'm giving it to the client, in the table i have various rows (each row is a page) now in each and every row has a field under the name of protected, the protected field can either have yes or no in it. what i want to do is that if it has a yes it doesn't allow the user to delete the page and if it has no he can delete it normally. thanks alot!

could you please show your code

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.