프로젝트의 배열에서 일부 데이터를 인쇄하고 있지만 첫 번째 단락과 마지막 단락을 제거하고 싶습니다. 그러나 소유권에 대한 마지막 단락을 별도로 보유하여 소유권을 출력하십시오. $actor_biography
첫 단락과 단락을 제거하고 마지막 단락을 별도로 유지하십시오.
에서 반향 전에, $actor_biography = $actor_details['biography'];
: 난 그냥 간단한 PHP echo 문을 사용하고있는 행을 호출하려면
Description above from the Wikipedia article Humphrey Bogart, licensed under CC-BY-SA, full list of contributors on Wikipedia.
을 시작
나는이 From Wikipedia, the free encyclopedia.
을 시작하는 첫 번째 단락과 마지막 단락을 제거하고자, 코드 : 나는 당신이 제공 한 이미지에서 볼 수있는에서
Array
(
[adult] =>
[also_known_as] => Array
(
)
[biography] => From Wikipedia, the free encyclopedia.
Humphrey DeForest Bogart (December 25, 1899 – January 14, 1957) was an American actor. He is widely regarded as a cultural icon. The American Film Institute ranked Bogart as the greatest male star in the history of American cinema.
After trying various jobs, Bogart began acting in 1921 and became a regular in Broadway productions in the 1920s and 1930s. When the stock market crash of 1929 reduced the demand for plays, Bogart turned to film. His first great success was as Duke Mantee in The Petrified Forest (1936), and this led to a period of typecasting as a gangster with films such as Angels with Dirty Faces (1938) and B-movies like The Return of Doctor X (1939).
His breakthrough as a leading man came in 1941, with High Sierra and The Maltese Falcon. The next year, his performance in Casablanca raised him to the peak of his profession and, at the same time, cemented his trademark film persona, that of the hard-boiled cynic who ultimately shows his noble side. Other successes followed, including To Have and Have Not (1944), The Big Sleep (1946), Dark Passage (1947) and Key Largo (1948), with his wife Lauren Bacall; The Treasure of the Sierra Madre (1948); The African Queen (1951), for which he won his only Academy Award; Sabrina (1954) and The Caine Mutiny (1954). His last movie was The Harder They Fall (1956). During a film career of almost thirty years, he appeared in 75 feature films.
Description above from the Wikipedia article Humphrey Bogart, licensed under CC-BY-SA, full list of contributors on Wikipedia.
[birthday] => 1899-12-25
[deathday] => 1957-01-14
[homepage] =>
[id] => 4110
[imdb_id] => nm0000007
[name] => Humphrey Bogart
[place_of_birth] => New York City, New York, USA
[popularity] => 3.92
[profile_path] => /5WaI2QbYd6WYq7Mzk3tEUTXSM3u.jpg
)
것은 아마 사용의 위키 백과 약관의 위반이 될 것이라고. 자신의 사이트를 긁어 모으는 것 (실제로 어느 것도 좋아하지는 않음)뿐만 아니라 귀속을 제거하려고합니까? –
예, 저는 이것을 알고 있습니다 - 솔직히 말해서 너무 행복하지는 않지만 선생님이 제가 선을 지우고 싶습니다. 그래서 제가해야 할 일입니다. 사이트 스크랩과 관련하여 저는 실제로 배우의 세부 사항을 위키 백과로 긁어 모으는 TMDb의 API를 사용하고 있습니다. 그래서 나는 스크래핑을하고있는 사람이 아닙니다. TMDb에서 데이터를 인쇄하고 있습니다. –
실은, 어떻게 든 별개의 줄로 나눠서 출력 할 수 있다면, 좀 더 멋지게 표현할 수 있습니다. 그러면 내 개인 교사를 달래주고 속성을 유지할 수있게 될 것입니다. –