How to integrate a php script in livestreet?


There is a site on livestreet.

There are records in each entry extra field - price (RUB. of the type xxx, or yyy usd)

There are third-party php script that counts the total value of all records. That is, makes a request to the database and summarizes the value of all fields "price".

Also, if you enter the user id, the script can show the value of records of a specific user.

The source code of the script:

How to get this script to work on livestreet? And how to register a function to automatic on the page of the user opredelila his id and correspondingly, the output would be the total cost of his records.

Please tell me.
September 26th 19 at 06:29
1 answer
September 26th 19 at 06:31
As an additional module or extend an existing one.
see the documentation.
Coolest answer. You can still link to Google to give, for example. - abigale_Bogisich commented on September 26th 19 at 06:34

Find more questions by tags LiveStreetPHPSQL