Help for this page

Select Code to Download


  1. or download this
    <?xml version="1.0"?>
    <urls>
    ...
      <url id="2" link="http://localhost/index.php?page=news&amp;id_news=1
    +7" name="2-nd test name with 2 as id" />
      <url id="4" link="http://localhost/index.php?page=news&amp;id_news=5
    +" name="another cool link" />
    </urls>
    
  2. or download this
    <?xml version="1.0"?>
    <urls>
    ...
      <url id="4" link="http://localhost/index.php?page=news&amp;id_news=5
    +" name="another cool link" />
      <url id="5" link="http://localhost/index.php?page=news&amp;id_news=2
    +3" name="another cool link added later on" />
    </urls>
    
  3. or download this
    #!/usr/bin/perl -w
    use XML::DOM;
    ...
    print $last_id;
    print "\n";
    print "total no. of records::" . $entries . "\n";