OH i am sorry, actually i was in a drafting class when i posted that so i didnt even have any of my scripts but i do now so click the attachements to download it. I use the pipe delimiter and my database is setup like this: sponsorname|description|yesorno

WOW thanks that was what i wanted to know. Just wondering if i wanted to print out all of the sponsors and their descriptions, how would i do that? Like Sponsornamehere : Their description they provided.

Alright hehe now i feel smart i arrived at the same answer you did. :) Now the question is how do you make the sponsor name a link ( i am thinking of adding a new category to the database and i was wondering how to implement that ). I used to know how but i forgot.

Ok i was looking over your second example given on how to print out one line from the database. If i wanted to print the second line second data(in red) sponsor|desc|yesno sponsor|desc|yesno in the line which would be desc , i would do this: print $data[1][1];

What if i wanted to read that $data[1][1] into a scalar. Let me explain why i am asking this: For my login script i have a database setup as username|password I want to be able to compare usernames then compare the password that is in the database with the input password. Then set a cookie giving them permissions to certain areas of the site.

Thanks :) ( I am not sure if you will be able to understand that, ask if i need to clarify).