1 year ago

#76376

test-img

CALDEN MICHAEL

How to create a trigger in phpmyadmin so that two columns are not the same suring insertion?

This is my table's records (already populated) table named posts

now i want to make sure that during insertion the user_to and user_from columns are not the same. here in the fourth record you can clearly see user_to=3 and user_from=3

php

mysql

triggers

xampp

backend

0 Answers

Your Answer

Accepted video resources