30.04.2018, 09:20
Wait, You use the query twice but want to save data of both querys in 1 row right?
You shouldn't remove a query, but convert them into one.
If the string is very long, you can use strcat to concatenates two strings into one
https://sampwiki.blast.hk/wiki/Strcat
Also, when you execute the first query, you can also use the second query to update the row you added with the first query.
https://dev.mysql.com/doc/refman/8.0/en/update.html
You shouldn't remove a query, but convert them into one.
If the string is very long, you can use strcat to concatenates two strings into one
https://sampwiki.blast.hk/wiki/Strcat
PHP код:
new string[40] = "Hello";
strcat(string, " World!");
// The string is now 'Hello World!'
https://dev.mysql.com/doc/refman/8.0/en/update.html