Simple PHP loop

완료 등록 시간: 6년 전 착불
완료 착불

I have a simple cvs file that have ticker symbols around 50. Below code $ticker gets its value from the cvs file.

Currently below code works but the width of the page is not enough so what I need is in every 17 tickers in the cvs file it creates new raw.

<!-- TradingView Widget BEGIN -->

<span id="tradingview-copyright"><a ref="nofollow noopener" target="_blank" href="[login to view URL]" 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="[login to view URL]">{

"symbols": [

<?php

foreach ($tickers as $i => $ticker) {

{

$arr[]= '{

"description": "",

"proName": "BITTREX:'. $ticker .'"

}';

}

} echo implode(", ",$arr);

?>],

"locale": "en"

}</script>

<!-- TradingView Widget END -->

Codeigniter JavaScript PHP 소프트웨어 아키텍처 소프트웨어 개발

프로젝트 ID: #15234139

프로젝트 소개

5 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 6년 전

수상자:

ByteWalkers

We are very experienced with JS. Let' chat Relevant Skills and Experience 6 years of experience. We have worked with companies like Microsoft, Amazon, eBay and SAP Labs. Proposed Milestones $15 USD - 1

$25 USD (1일 이내)
(9건의 리뷰)
3.7

이 일자리에 대한 프리랜서 5 명의 평균 입찰가: $20

Max01

hello hope you are doing well I am interested to work on this project. Gladly waiting to serve you with my extensive skills. Relevant Skills and Experience php Proposed Milestones $30 USD - lets do it 기타

$20 USD (0일 이내)
(353 리뷰)
7.4
imranphp

Hi, Can I see your script working somewhere? Or send me the script+CSV file to check it on my own server. I will fix it. Relevant Skills and Experience My name is Imran and I have been working as a HTML/CSS/PHP/Wordpr 기타

$30 USD (1일 이내)
(200 리뷰)
6.7
kozaktr

parasiz yaparim sorun yok Relevant Skills and Experience parasiz yaparim sorun yok Proposed Milestones $10 USD - whole pr.

$10 USD (0일 이내)
(45 리뷰)
6.5
webcodeater

A proposal has not yet been provided

$14 USD (1일 이내)
(94 리뷰)
5.8