Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

Processing database with only one field

Hello,

I have a database with nothing but URLs.

I want to process each of them.  Something like this:

                              foreach (URL) {
                                 echo  $URL;
                              }

How can I do this?
CREATE TABLE `url` (
  `url` varchar(256) character set utf8 collate utf8_unicode_ci default NULL,
  KEY `url` (`url`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
 
INSERT INTO `url` VALUES('http://www.example.com/');
INSERT INTO `url` VALUES('http://www.example.net/');
INSERT INTO `url` VALUES('http://www.example.org/');

Open in new window

SOLUTION
Avatar of nplib
nplib
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Loganathan Natarajan
Loganathan Natarajan
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial