-1

create automatic datetime(date with timestamp) when update the data in postgresql(phppgadmin) on database table

Plese advise me thanks

Sniper
  • 3
  • 4

1 Answers1

0

1.if you use timestamp type in the column when you update the record then date time also updated 2.if you use varchar type in the column when you fire a query

demo

$sql = "update table_name set field_name=now() where your condition";