Gossamer Forum
Home : Products : DBMan : Discussions :

Re: Call db fields in sub_html_home

Quote Reply
Re: Call db fields in sub_html_home In reply to
I'd like to know where you got the code you posted. That will not do what you want it to do. In fact, I don't think you can do what you want to do, if I'm understanding you correctly.

If you want to get the records that a user has added, you need to change

$in{$db_cols[$db_key]} = $db_key;

to

$in{$db_cols[$auth_user_field]} = $db_userid;

Also, you don't need the first line you have -- my (%rec) = @_;

In Reply To:
it displays instead of the information this character ( ; )
You didn't include the part of your code which displays the variables.

In Reply To:
What im doing is to let every people see without having to log
This is what you cannot do, if I understand you correctly. Users must log in so the script will know which records to retrieve.




JPD
Subject Author Views Date
Thread Call db fields in sub_html_home Demente 3430 May 29, 2000, 10:47 AM
Post Re: Call db fields in sub_html_home
AstroBoy 3330 May 29, 2000, 5:39 PM
Post Re: Call db fields in sub_html_home
JPDeni 3314 May 30, 2000, 10:55 PM
Post Re: Call db fields in sub_html_home
Demente 3297 Jun 3, 2000, 10:47 AM