Карта сайта Интеллектуальная поисковая системаДобавить свою ссылку по ключевому запросуПоисковая система v3.kz поможет ускорить индексацию вашего сайта выводит в Топ |
|
Подскажите. Почему не работает explode? explode() expects parameter 2 to be string, array given $names= file(emails.txt); foreach($names as $key => $name) { $name = explode(;,$names); echo $name . ; } PHP для начинающих... Im trying to use a script. And when I go to use it I get the following error: Warning: explode() expects parameter 2 to be string, array given in /myred/include/functions.php on line 16. ...explode() expects parameter 2 to be string, array given in /sata1/home/users/olegaspho/www/www.olegasphoto.com.ua/templates/youretro/layouts/grids/yjsg2.php on line 21. Аналогично со вторым файлом, если он есть.[/quote] Вот код: $qip="qip.csv"; $arr_qip=file($qip); $data=explode(;,$arr_qip, 2); print_r($data); Вот ошибка которая появляется: Warning: explode() expects parameter 2 to be string, array given in C... [РЕШЕНО] Ошибка типа "Функция такая-то expects parameter 1 to be string, array given в функции ..." Were facing the follow issue when translating some portfolio items: Warning: explode() expects parameter 2 to be string, array given in /home/soft/public_html/insomer.com/wp-content/plugins/sitepress-multilingual-cms/sitepress.class.php on line 6270. Warning: explode() expects parameter 2 to be string, array given in <?php $mid= explode("\n",file_get_contents("data.txt")); for($i=0; $i<count($mid); $i++) { $. Original post: Dear, After installing open atrium version 2.42, I receive the following error ; How do I fix this please.. Warning: explode() expects parameter 2 to be string, array given in oa_tour_bootstrap_tour_alter... So, I am thinking, why amn’t I post it on my blog for you? The problem is generate when I use K2 blog’s “Content Module (mod_k2_content )” . And the warning is “explode() expects parameter 2 to be string, array given”. Информация взята v3.kz |
загрузка...
|