So someone else wrote the code for this webpage. I am just adding a contact form for a client, however, I seem to be having issues inserting an include statement. When I include the file, it appears on the website as the very first thing on the page no matter where I put it in the file. I placed the three key files here. 1) The website where the file is included, 2) The included contact form file, 3) the working part of the contact form.
I feel like there is something really simple I’m missing here. Any help would be appreciated! Thanks in advance.
[php]
<?php $menu = $_GET["menu"]; //if menu statement removed for brevity }elseif( $menu == 'contact' ){ $temp_title = "Contact Us "; $temp_background = 'layer_other'; $tc05 = "class=sel_page"; $temp_content = "Contact Us
Need help, why wait? Contact us today!
Phone: 770-837-8137
Email:
Atlanta Psychotherapy Solutions, LLC operates the following specialty websites highlighting mental health conditions and our treatments to benefit you or a loved one. Please view our websites for further information:
-
list
Call us at (770)837-8137 (call 911 in case of emergency).
If you prefer email, feel free to email us at ".hide_email("[email protected]")."
We are located at 2150 Peachford Rd, Suite A
Atlanta (Dunwoody), GA 30338
Map
What We Do
We provide psychiatric, psychotherapy, and counseling services for the Greater Metropolitan Atlanta area.
We provide brief therapy approaches, long-term counseling, psychiatric medication management, in-patient hospital care, intensive outpatient programs.
We provide referrals to local psychiatrists, behavioral health hospitals, rehab programs, half-way houses, and therapists.
We are a group of real people who are professionals that care about your emotional and mental wellness. We work with you to resolve complex issues that impact your daily life.
We provide lots of different services, so please take your time and look through this website or call us at (770) 837-8137 or email us at ".hide_email("[email protected]").".
Our services include
-
list
We all experience difficulties or challenges at different times in our lives. Often, we can handle things on our own or with the help of some good friends. But, there are times when professional assistance may be needed. Counseling and psychotherapy can help you through the difficult times of your life.
We are here to assist you with your mental health needs. Our board certified psychiatrists and licensed psychotherapists have excellent skills along with years of personal and clinical experience to provide you with professional mental health care within the Metro Atlanta area.
We provide treatment for
-
list
Copyright © 2009-2011. All rights reserved. Developed by John Y. Kim.
Alpharetta, Atlanta, Symrna, Johns Creek, Buckhead, Dunwoody, Lawrenceville, Duluth, Marietta, Woodstock, Acworth, Metro Atlanta, Brookhaven, Decatur, Roswell, Sandy Springs, North Georgia, Ellijay
Optimization by Gaius J. Augustus.
if( $opt == 1 ){ $mc01 = “class=menu_choice”; }
etc
$temp_left_menu = "
return $temp_left_menu;
}
function left_menu02($opt){
//left menu
if( $opt == 1 ){ $mc01 = “class=menu_choice”; }
if( $opt == 2 ){ $mc02 = “class=menu_choice”; }
$temp_left_menu = "
";return $temp_left_menu;
}
function left_menu03($opt){
//left menu
if( $opt == 1 ){ $mc01 = “class=menu_choice”; }
if( $opt == 2 ){ $mc02 = “class=menu_choice”; }
if( $opt == 3 ){ $mc03 = “class=menu_choice”; }
if( $opt == 4 ){ $mc04 = “class=menu_choice”; }
if( $opt == 5 ){ $mc05 = “class=menu_choice”; }
if( $opt == 6 ){ $mc06 = “class=menu_choice”; }
$temp_left_menu = "
return $temp_left_menu;
}
?>
[/php]