Skip to content
Advertisement

How to disable edit function when database signed=1 in php

if I want to disable the edit when database signed=1, how to change it?

JavaScript

Thank you.

Advertisement

Answer

You need to add the condition if ($row[‘signed’] !=1){ …. } so that the system can allow editing (or not)

Hence Change

JavaScript

to

JavaScript
User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement