|
|
|
|
|
для: bab-nike
(02.10.2015 в 23:51)
| | Добрый день!
Вот таблица:
[IMG]http://s020.radikal.ru/i709/1510/ad/dc449a4c5093.png[/IMG]
|
А обновить хотел столбец meta_keywords используя массив данных:
$data = array(
array(
"meta_keywords" => "Значение1",
"category" => "Значение1"
),
array(
"meta_keywords" => "Значение2",
"category" => "Значение2"
),
array(
"meta_keywords" => "Значение3",
"category" => "Значение3"
array(
и т.д.
),
|
С уважением,
Олег | |
|
|
|
|
|
|
|
для: Oleg77
(28.09.2015 в 22:37)
| | что за таблица? структуру хотя бы, и конечно что значит И ими надо обновить ... ими это как понять? условие где? какой выбор данных? какими ими? | |
|
|
|
|
|
|
| Здравствуйте!
Не подскажете, как можно обновить данные в поле таблицы из массива данных?
Имеется вот такой массив:
Array
(
[0] => adamsdouglas-dg1-dirkgentlysholisticdetectiveagen
[1] => adamsdouglas-dg2-thelongdarktea-timeofthesoul
[2] => adamsdouglas-h1-thehitchhikersguidetothegalaxy
[3] => adamsdouglas-h2-therestaurantattheendoftheunive
[4] => adamsdouglas-h3-lifetheuniverseandeverything
[5] => adamsdouglas-h4-solongandthanksforallthefish
[6] => adamsdouglas-h5-mostlyharmless
[7] => adamsdouglas-lastchancetosee
[8] => adamsdouglas-starshiptitanic
[9] => adamsdouglas-themeaningofliff
[10] => adamsdouglas-youngzaphodplaysitsafe
[11] => douglasadams-therestaurantattheendoftheuniverse
[12] => andersonpoul-callmejoe
[13] => andersonpoul-explorations
[14] => andersonpoul-firetime
[15] => andersonpoul-genesis
[16] => andersonpoul-goatsong
[17] => andersonpoul-inmemoriam
[18] => andersonpoul-operationchaos
[19] => andersonpoul-queenofair&darkness
[20] => andersonpoul-saturngame
[21] => andersonpoul-starways
[22] => andersonpoul-theavatar
)
|
И ими надо обновить одно поле таблицы.
С уважением,
Олег | |
|
|
|
|