Jump to content

werushka

Members
  • Content Count

    94
  • Joined

  • Last visited

Community Reputation

0 Neutral

About werushka

  • Rank
    Regular Member

Profile Information

  • Gender
    Female
  1. is this json??? <!-- TradingView Widget BEGIN --> <span id="tradingview-copyright"><a ref="nofollow noopener" target="_blank" href="http://www.tradingview.com" style="color: rgb(173, 174, 176); font-family: "Trebuchet MS", Tahoma, Arial, sans-serif; font-size: 13px;">Quotes by <span style="color: #3BB3E4">TradingView</span></a></span> <script src="https://s3.tradingvi...t-tickers.js">{ "symbols": [ { "description": "", "proName": "BITTREX:ARKBTC" }, { "description": "", "proName": "BITTREX:OMGBTC" } ], "locale": "en" }</script> <!-- TradingView Widget END --> What I am trying to do is get the tickers from cvs file so I don't waste space on the php file. Typing it manually for each ticker. { "description": "", "proName": "BITTREX:OMGBTC" } I am trying to change "BITTREX:OMGBTC" with the data pulled from cvs file for each line
  2. Non of the above, I am trying to solve my problem which is indicated in my first post. Nothing more nothing less.
  3. Thanks for your reply but, I am totally not doing that. I have a cvs file which I get ticker data and trying to implement it to widget {script}
  4. Hi, I have been trying to solve it but no luck, I have the following code <?php foreach ($tickers as $i => $ticker) { { echo '{ "description": "", "proName": "BITTREX:'. $ticker .'" },'; } } ?> it gives me output like below { "description": "", "proName": "BITTREX:PTCBTC" },{ "description": "", "proName": "BITTREX:NEOSBTC" }, but I need to remove the last comma that is generated. I would appreciate some feedback. Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.