Help me plz

Discussion in 'JavaScript' started by aadi92s, Apr 9, 2010.

  1. #1
    i have text in php file

    like
    
    pakistan[_country]http://www.thiscuss.com/country/pakistan/Urdu Poetry/asddasadsdas dds d da d.htm[topic-title-url]http://www.thiscuss.com/country/pakistan/Urdu Poetry/dsa das lskdjdsal;ksj; lksd; sjd;slkjdsa; kjd.htmAqwal E Zareen[top-cat]Urdu Poetry[top-cat]Aqwal E Zareen[top-cat]india[_country]http://www.thiscuss.com/country/pakistan/Urdu Poetry/asddasadsdas dds d da d.htm[topic-title-url]http://www.thiscuss.com/country/pakistan/Urdu Poetry/dsa das lskdjdsal;ksj; lksd; sjd;slkjdsa; kjd.htmAqwal E Zareen[top-cat]Urdu Poetry[top-cat]Aqwal E Zareen[top-cat])
    i already get this data in javascript page now i want all countries like (pakistan[_country] (only contry name not [_country] i add this for split)) in one variable and next stup all url in one variable  who in pakistan  like ([url]http://www.thiscuss.com/country/pakistan/Urdu[/url] Poetry/asddasadsdas dds d da d.htm[topic-title-url] (only url name not [topic-title-url] i add this for split)) and next all the top categories who in pakistan like (Urdu Poetry[top-cat] (only top categories not [top-cat] i add this for split))
    
    Code (markup):
    same as next country

    then all is complate
    i want this data in page index.php

    Please help me
    and
    Thanx in advance
     
    Last edited: Apr 9, 2010
    aadi92s, Apr 9, 2010 IP
  2. JREAM

    JREAM Member

    Messages:
    160
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    30
    #2
    You should do this with PHP
    <?php include('yourfile.php'); ?>

    Cheers,
    Jesse
     
    JREAM, Apr 10, 2010 IP