know connection and run mysql from php

gatticlaudio

Claudio
Hello everyone, I need help with the following:
I have a list in which with the plugin php_event I execute some php lines to delete a table and reload it with data.
So far I have established a new connection and it performs well.
What I want is to use the existing connection to the base, without creating a new one.
So I create the current connection:
$ conn = mysqli_connect ('localhost', 'root', 'claudio', 'collections');
$ r1 = mysqli_query ($ conn, "DELETE FROM T1";
So I need to run my DELETE FROM T1 over the already established connection with Fabrik Connections.
Thank you
 

Members online

No members online now.
Back
Top