Is it possible to pass a value to php from a Mysql trigger? -
i using phpmyadmin , having trigger executes after inserting entries in table,in trigger phone call php file.but need pass value php file trigger.. possible? if suggest me code how pass it.(the value new value inserted in table) help me.thanks!
i'm no expert phpmyadmin let's phone call php file trigger so:
dosomething.php you can pass $_get variable so:
dosomething.php?username=john you access variable within dosomething.php so:
$username = $_get['username']; if
echo $username;
it homecoming john
php mysql sql database triggers
No comments:
Post a Comment