Re: xml and mysql question...

2002-07-16 Thread Wiggins d'Anconia
Below is a mysql approach using DBD::Mysql which can be generalized to DBI pretty easily. #!/usr/bin/perl use Mysql; # connect if (!($dbh=Mysql->connect('localhost',''))) {print "Connect error. Please try back later.";exit;} #sample query $statement="SELECT id,name,location,setting FROM users

xml and mysql question...

2002-07-16 Thread WyvernGod
Hey im thinking of doing some perl stuff with xml.. but I have no experiance in it.. a friends site offers their news links in xml format.. what I need to do is to open a connection to there site.. read that file then display it on my own site. any ideas one working with xml? Also can someon