Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation

Re: Using filepath method to identify an .html page

by Anonymous Monk
on Jan 22, 2013 at 16:40 UTC ( #1014726=note: print w/ replies, xml ) Need Help??

in reply to Using filepath method to identify an .html page

If you've already got a database table with a column that holds the absolute path (or you can create one), and all you want to do is pick a number for each row, then, assuming you've marked the column that holds the number as UNIQUE, then you could just pick a random number for each row, right? Or, if you haven't filled the table yet, maybe you're looking for a feature like AUTO_INCREMENT? (a similar feature exists in virtually all databases)

Comment on Re: Using filepath method to identify an .html page

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1014726]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (10)
As of 2015-12-01 18:35 GMT
Find Nodes?
    Voting Booth?

    My keyboard shows this many letters:

    Results (24 votes), past polls