Нужен совет по переобразованию масива в в цыкл (php)
3 USDНужен совет по переобразованию масива в в цыкл (php)
масив уже есть и ево нужно разбить в цыкл тоить
Array ( [0] => Array ( [style] => test1 ) [1] => Array ( [name] =>test2 ) [2] => Array ( [name] => test3 ) [3] => Array ( [name] => test4 ) [4] => Array ( [name] => test5) [5] => Array ( [name] => test6 ) )
тоисть чтоб даные были в цыкле и выводились по 1 значению в 1 строке цыкла например
номер 1 инффа... test1
номер 2 инфaа... test 2
т.д.
при дабавление значений в масиве дабавления должно происходить.
Помогите советом или как как зделать
Client's feedback on cooperation with Viktor Korolov
Нужен совет по переобразованию масива в в цыкл (php)+++ все на відміно все класно виконано без жоднийх проблем
Profile deleted
Freelancer's feedback on cooperation with client
Нужен совет по переобразованию масива в в цыкл (php)Адекватный и очень дипломатичный заказчик, советую с ним работать!
-
Winning proposal1 day3 USD
1651 81 0 1 Winning proposal1 day3 USDСделаю за отзыв)
-
если выводить, то можно так:
foreach($array as $item) {
$key = key($item);
echo $item[$key] . '<br>';
}
-
<?
### Skype: master301_php
$arr = array();
for($i=1;$i<=10;$i++) {
$name = 'test'.$i;
$arr[] = array('name'=>$name);
}
//print_r($arr);
for($i=0;$i<count($arr);$i++) {
echo '######'.($i+1).'######';
echo '<br/>';
foreach($arr[$i] as $key => $value) {
echo $key.' => '.$value.'<br/>';
}
echo '<br/>';
}
?>
-
Current freelance projects in the category PHP
"Magento 2.4.6 adding a product through attributes"Problem: The website has many products that can be sold together with other products. Products need to be added through an attribute in the configuration product. For example: A computer mouse is available in different colors, and a mouse pad can be purchased with it (although… PHP, Web programming |
Разработать скрипт под WordPress CMS + Google maps API + MySQLWe need a code for a WordPress website. The current (demo) website https://e-ztrans.com/ is based on some self-made CMS. We are trying to override and make it more reliable. I will provide access to current website’s admin panel as well as source code of the current data base… PHP, Web programming ∙ 2 proposals |
Add a section to the website
76 USD
1. Add section https://www.vitajuwel.us/sana to the website https://vitajuwel.com.ua/ 2. Fix the central slider. Website on Laravel. Page speed score should not decrease. PHP ∙ 3 proposals |
Calculator for calculating the cost per m2 for a blinds websiteHello everyone, I need to create a calculator for calculating the cost of a product based on its width and height. Calculation example: Horizontal blinds 0.75 m2Fabric roller blinds 0.60 m2Mosquito nets 0.75 m2Roman blinds 1 m2Japanese blinds 0.60 m2Protective roller blinds 1.3… JavaScript, PHP ∙ 11 proposals |
Stylize Select option WordpressTask to style the standard Select option with appropriate styles. Problem: when using replacement of dropdown with list through jquery: filters for sorting products do not work. JavaScript, PHP ∙ 8 proposals |