Simple Pseudocode -> Complex Code
April 3, 2002 by daynah
Filed under Code Snippets
When programming, I usually write out what I want my program to do. Then as I’m coding, I know how to make my program do what I want it to. :)
Daynah’s Pseudocode:
1) Submit request
2) Get dept. of that request -> $myuser_dept_id
3) Find the manager of that department
4) Check he manager’s email preference
5) Get the email address of the manager
6) Email the manager IF email preference is set on yes
Daynah’s Real PHP/mySQL Code

Yup, sometimes it takes a lot of code to do something small. ;)


@






