Thank you for your help, it did work now.
I have another question if you do not mind helping out on:
I have a dump list in my admin. section where any member joins and gets approved, his/her email address goes into a list, here is the code :
<?php
include "_pg-lib.php3";
$con = pg_pconnect("", "", "", "", "romboard");
$result = pg_exec($con,"select email from memberinfo where email ~ '@'");
pg_dumpResult($result, "\n", "");
?>
I wanted the list to also have the user's name added next to the email address.
It only worked when I replace the "select email from member info" by "select username from member info"
but not together.
What am I doing wrong?
Thank you
Krenee