S
S
Sergey Druzhko2017-08-17 21:20:34
PHP
Sergey Druzhko, 2017-08-17 21:20:34

How to add every 10 minutes a new field in mysql database?

How to implement such a thing? Preferably in php of course

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2017-08-17
@leave_me_here

What's the problem? Make a script in php and put it in cron so that it runs every 10 minutes.
But keep in mind that in mysql you cannot create more than 4096 fields for a table. And most likely you will reach the limit even earlier.

M
Maks Pavelin, 2017-08-17
@iMukcep

As one option, set a Cron task to run a script every 10 minutes. Now almost any beach hosting allows you to work with Cron.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question