LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 649 users online 221817 members 1609 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Memberlist | Dictionary | News | FAQ
Member Spotlight
Ashaia
Music: All kinds of rock, definitely alterntiv...
Mood: Honest
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
3 online / 51 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

Perl / SQL
in_list
Replies: 0Last Post Sep. 13, 2008 8:43pm by medjai
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( medjai )



Patron
Reply
I need to know this for security reasons.

In Perl or SQL, if I have a TABLE, and that table has, say, six things.

USERNAME
PASSWORD
EMAIL
DAYSACTIVE
POINTS
SIGNATURE

Now. Let's assume I only know what one of these are. USERNAME.

Can I through any of the standard libraries for these languages use a command like I can in c++ that effectively lets me tell the program to LIST for me, all the names that I don't know.

For instance (and this is not exercising proper syntax at all I know).

IF NOT IN_LIST "USERNAME"
THEN PRINT_ALL
ELSE RETURN 1

OR ANYTHING OF THE SORT?

I know that this is possible in some way, but I'd like to see exactly how it's done if anyone's familiar.

-------
O` tru apothecary!
Thy drugs are quick.
Thus with a kiss I die.


8:43 pm on Sep. 13, 2008 | Joined: Nov. 2003 | Days Active: 1,595
Join to learn more about medjai California, United States | Straight Male | Posts: 17,156 | Points: 39,889
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic