Home
amadorl3's Journal
 
[Most Recent Entries] [Calendar View] [Friends]

Below are the 1 most recent journal entries recorded in amadorl3's LiveJournal:

    Thursday, January 20th, 2005
    4:13 pm
    DBI with Perl
    Hey guys,

    Having a problem with DBI which i'm new to. I have a problem...here it is:

    Given a group id, and a search string, return all a query result of all matching group member records from the mySQL database.

    Here is a prototype:

    Sub search_group_member
    {
    my($group_id, $search_string) = @_;
    }

    These are the tables:
    Person: ID(int), Name(text), Email(text)
    Person_Group: Person_ID(int), Group_ID(int)

    Don't really know how to use DBI...any help would be appreciated. Thanks!
About LiveJournal.com

Advertisement