Hello Guys.
I get a lot of server hangs and exceed max_connections, so i wanted to try reducing the load by using a .txt file.
Do you know if it's possible to read a file starting from a certain line? e.g if i want to read a file starting from line 10 ending at line 15? on a db it's
Now can the same results be achieved reading a txt file?
I get a lot of server hangs and exceed max_connections, so i wanted to try reducing the load by using a .txt file.
Do you know if it's possible to read a file starting from a certain line? e.g if i want to read a file starting from line 10 ending at line 15? on a db it's
PHP Code:
$mysqli->query("SELECT * FROM `table` LIMIT 10, 5")
Comment