PHP파일을 XML로 바꿔어주세요.. 정보
PHP파일을 XML로 바꿔어주세요..첨부파일
본문
시아님이 만드신 자동메뉴의 파일인데요
이파일을 xml 파일로 변경좀 해주세요.
제가 아는 것이 없어서요.
부탁드립니다.
이파일을 xml 파일로 변경좀 해주세요.
제가 아는 것이 없어서요.
부탁드립니다.
댓글 전체

<?xml version='1.0' encoding="언어셋"?>
<topMenu>
<menu text="상위메뉴1" link="123.html" target="_self">
<menu text="하위메뉴" link="123_1.html" target="_self"></menu>
<menu text="하위메뉴" link="123_2.html" target="_self"></menu>
<menu text="하위메뉴" link="123_3.html" target="_self"></menu>
</menu>
<menu text="상위메뉴2" link="123.html" target="_self">
<menu text="하위메뉴" link="123_1.html" target="_self"></menu>
<menu text="하위메뉴" link="123_2.html" target="_self"></menu>
<menu text="하위메뉴" link="123_3.html" target="_self"></menu>
</menu>
</topMenu>
형태가 되지 않을까요?
<topMenu>
<menu text="상위메뉴1" link="123.html" target="_self">
<menu text="하위메뉴" link="123_1.html" target="_self"></menu>
<menu text="하위메뉴" link="123_2.html" target="_self"></menu>
<menu text="하위메뉴" link="123_3.html" target="_self"></menu>
</menu>
<menu text="상위메뉴2" link="123.html" target="_self">
<menu text="하위메뉴" link="123_1.html" target="_self"></menu>
<menu text="하위메뉴" link="123_2.html" target="_self"></menu>
<menu text="하위메뉴" link="123_3.html" target="_self"></menu>
</menu>
</topMenu>
형태가 되지 않을까요?

xml로 저장하시면 되잖아요 -_-