PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?php
dbConnect('members');
if ($_POST['username']=='' or $_POST['firstname']=='' or $_POST['lastname']==''
or $_POST['department']=='' or $_POST['email']=='') {
error('One or more required fields were left blank.\\n'.
'Please fill them in and try again.');
}
?>
This part of the code seems to work...it's driving me crazy!