B
B
Bernard Krapivin2016-07-16 00:07:37
PHP
Bernard Krapivin, 2016-07-16 00:07:37

How to make a SQL query run automatically when a page is opened?

Here is a request:
UPDATE `mists` SET `sign`='0',`signa`='0'
How to make it so that when index.php is opened, it is sent automatically?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
T_y_l_e_r, 2016-07-16
@T_y_l_e_r

Push it into index.php using PDO or MYSQLi

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question