61⟩ What are the differences between DROP a table and TRUNCATE a table?
DROP TABLE table_name - This will delete the table and its data.
TRUNCATE TABLE table_name - This will delete the data of the table, but not the table definition.
“Learn PHP programming with Interview Questions and Answers and examples.”
DROP TABLE table_name - This will delete the table and its data.
TRUNCATE TABLE table_name - This will delete the data of the table, but not the table definition.
Yes.
session_register($session_var);
$_SESSION['var'] = 'value';