php.net is a big help ( http://www.php.net/define )
When you use the define function, you don't define a variable, you define a constant, so simply take the $ away from in front of $author_name in all parts of your script and it will work.
Thread profile page for "Function Help" on http://www.webdeveloper.com.
This report page is a snippet summary view from a single thread "Function Help", located on the Message Board at http://www.webdeveloper.com.
This thread profile page shows the thread statistics for: Total Authors, Total Thread Posts, and Thread Activity
| |||||||||||||||||||||||