php code

Posted on 2003-11-23
Last Modified: 2010-04-06
hi  well can enybody tell me how to change this html file code to php code if anuboy can go to this web site you will see the old page this code below is the new code but i need to change to php file so i can see it the websit is
thank you for your help evrybody


<TITLE> In The News...  </TITLE>
      <link rel="stylesheet" type="text/css" href="">

<body topmargin="0" rightmargin="0" leftmargin="0" bottommargin="0" bgcolor="#ffffff">
<table align="center" cellspacing="0" cellpadding="0" border="0" bgcolor="#336699" width="100%" height="100%">
 <tr><td colspan="4" bgcolor="#6699cc" height="1"></td></tr>
 <tr><td colspan="4" bgcolor="#003366" height="2"></td></tr>
  <td height="40" bgcolor="#336699" colspan="4" align="center">
              <font size="+2" color="#ffffff"><b>Manhattan Comprehensive Night And Day High School </b></font><br>
                  <font size="-1" color="#ffffff">&nbsp;</font>
      <td bgcolor="#80A4C8" colspan="4" align="center">
       <table align="center" bgcolor="#80A4C8">
            <a class="menubar" href=""><font color="#ffffff">@</font> </a>
            <a class="menubar" href="">[ Guidance ]</a>
            <!-- <td>
            <a class="menubar" href="">[ Academics ]</a>
            </td> -->
            <a class="menubar" href="">[ CDI ]</a>
            <td><!--DWLayoutEmptyCell-->&nbsp; </td>
            <td><!--DWLayoutEmptyCell-->&nbsp; </td>
            <td><!--DWLayoutEmptyCell-->&nbsp; </td>
  <tr><td colspan="4" bgcolor="#99ccff" height="1"></td></tr>
 <tr><td colspan="4" bgcolor="#336699" height="2"></td></tr>
 <tr><td colspan="4" bgcolor="#c0c0c0" height="3"></TD></TR>
    <td bgcolor="#80A4C8" width="20%" height="100%" valign="top">
      <table width="100%" bgcolor="#80A4C8">
        <td width="679" height="21" align="left"> <A class="menuheader" HREF="" title="Welcome to our web site!">Principal's
          Welcome</A> </td>
        <td width="8">&nbsp;</td>
        <td height="21" align="left"> <A class="menuheader" HREF="" title="Infomration about school registration and more">Guidance</A>
      <!-- <tr>
      <td align="left" colspan="2">
    <A class="menuheader" HREF="" title="the Arts, Engslish, History, Math, the Sciences">Academics</A>
    </tr> -->
        <td height="24" align="left" valign="top"> <A class="menuheader" HREF="" title="Comprehensive Development, Inc.">CDI</A>
        <td> </tr>
        <td height="26" align="left" valign="top"> <A class="menuheader" HREF="" title="Press releases about MCNDHS">In
          The News</A>
        <td height="24" align="left" valign="top"> <A class="menuheader" HREF="" title="Manhattan High Schools Superintendency">MHSS</A>
        <td height="153" align="justify" valign="top"> <a href=""><img src="" width="93" height="93" border="0" alt="NYC BOE"></a>
    <td bgcolor="#ffffff" width="2%" height="100%"></td>
<td bgcolor="#ffffff" width="76%" height="100%" valign="top">
        We Listen A Lot
<P >My brothers think if I go to school I'm going to
do bad things that are against my religion," said Sakibah (not her real name), a
student at Manhattan Comprehensive Night and Day School. "They say: 'You'll end
up with a boyfriend or a drug addict.'" Manhattan Comprehensive Night and Day, a
public high school for older, nontraditional students, offers refuge to girls
like Sakibah -- new immigrants whose families are wary of education for women
and the dangers they see in allowing girls to go out of their homes
unchaperoned. The school not only helps these girls find jobs and tutors for
homework help, it even offers social workers to negotiate with families about
staying in school.</p>

<P>But she estimated that 30 or 40 percent of the immigrant girls face the same
problem as Sakibah: parents or other male family members who are ambivalent
about their finishing school.</p>

<P>The school offers classes from 11 a.m. to 11 p.m. Monday through Thursday and
on Sundays, so students can hold jobs or raise a family and still continue their
studies. Flexible hours, combined with a wide array of social services -- from
medical care to help getting immigration papers -- make it possible for students
with complicated lives to finish high school. </p>

<p>"If you tell me you can't come at 5 p.m., we'll make your schedule so you can
come at 6 p.m.," said principal Howard A. Friedman, who founded the school in
1989. "We give .employment help, tutors, housing help, legal .assistance." </p>

<P>But the school is discovering that even more is needed for the girls whose
families believe that college or even secondary education is unnecessary for
women whose lives are expected to revolve around their roles as wife and mother.
<P>"The girls come here and they start adjusting to American ways, and they
start thinking about college," Hannat said. "The script that was assigned to
them, to cook and clean and get ready to get married, becomes a second choice
for them. That causes friction with their families." </P>

<P>The paradox is that families are simultaneously dependent on the education
that the girls receive and frightened by the independence it gives them. The
girls in school have the luxury of learning English well, while their fathers or
older male relatives, struggling to earn a living, may learn only a few words.

<P>There is a role reversal in which the .English-speaking children become the
fam.ily representatives to the outside world -- dealing with the landlord or the
telephone company or the credit card companies. That role reversal creates
tension. </P>

<P>Further, the fathers or older male relatives often suffer a decline in status
when they come to this country, while the girls find their status improves -- an
additional source of friction.</P>

<P>Sakibah's family, for example, was rich enough to have 10 servants in
Bangladesh, where her parents still live. In Queens, her brothers support her
with their earnings as taxi drivers. </P>

<P>"Back in their country, the men had dominant status," Hannat said. "They had
better jobs than they have here. Here, they are uprooted. They have an identity
loss. They may be highly educated, but they are not edu.cated in the American
way. They are seen as ignorant.</P>

<P>"The girls are the silent voice at home. When they come to America, they
begin to have a voice. It's really adaptation. In class, they will cast down
their eyes. The teacher says, 'You have to look me in the eye. Here, we look
people in the eye.' It's the only way to get a piece of the American dream."

<P>The school deals with the friction by delicately balancing a respect for the
traditions of students' countries of origin with a firm belief that a degree of
assimilation is necessary and desirable.

<P>The school sets aside a place for students, particularly Muslims, to pray and
permits girls to wear black veils, for example. But social workers also make
clear that practices that may be acceptable in other countries -- such as
beating a girl to discipline her -- constitute a crime here.

<P>"We listen a lot. That's the most important thing we do," Hannat said. "We
work with them to see what their options are. We negotiate with their families."
Teachers, volunteer tutors, social workers and even the school security guard
work as a team to find the best solutions for students' problems.

<P>Hannat, a Morrocan-born Muslim, sometimes uses passages from the Koran to
encourage families to treat girls with respect. "I say: 'The Prophet said honor
the woman. The Prophet says you have to take care of her.'"

<P>Many of the girls served by the Family Life Center, like Sakibah, are Muslims
from the South Asian countries of Pakistan, Bangladesh and Nepal. But there are
Christians as well. The center has helped girls from places as diverse as Kenya,
Kosovo, Egypt, Syria, Russia, Hungary and the Dominican Republic cope with
overbearing and sometimes violent family members. ></P>

<P>In Sakibah's case, the school dealt with the friction by inviting her
brothers to visit, so they could see how safe and well-supervised the building
was. They pointed out that girls may dress modestly in black veils if they wish,
and that special areas are set aside for prayer. The school has no classes on
Fridays -- another plus for Muslims whose Sabbath is Friday.

<P>"We told them to come any time without an appointment," Hannat said. "That
gave them the confidence that things were all right."

<P>Still, it's an ongoing struggle to keep Sakibah in school. Last summer, the
brothers threatened to withdraw her because she was becoming "too Americanized."
This fall, they wanted her to stay home to take care of household chores. "The
bottom line is, they don't want me to go to school," Sakibah said. But with
careful negotiation, school staff members persuaded them to let her stay.

<P>Like a lot of immigrants, Sakibah em.braces both the traditions of her
homeland and the customs of her new country. Her long, black hair is tied in a
bun, and she wears earrings and a jeweled stud in her nose. Sometimes she dons a
long, traditional robe. Other days, she wears jeans and a .turtleneck.

<P>She works part-time outside the home -- without her family's knowledge or
permission -- but she fully expects her fam.ily to choose her husband and to
arrange her marriage before she's 21 or 22.  </P>

<P>She continues to attend school -- even though it causes friction with her
family. But she also accepts her elder brother's .authority, even when he
refuses to let her go to the</P>

<P>library or do her homework. "My .brother makes the rules," she said. "If the
house is not clean or the rice is not OK, he yells at me. He hits me sometimes,
but I get used to it. </P>

<P>"I come to school because I want to get an education. I'm not interested in
getting a good job because I know I'm not going to work. But school opens new
worlds for me and teaches me to question things. <br>If I learn something, it's just
for me. . </P>

<P>"If tomorrow my family decides for me to get married, there is nothing I
could do, I would have to do it," she said. "I don't want to forget my past,
where I came from." </P>

<P><EM><FONT color=#3333ff>Clara Hemphill is the editor of, <br>an online guide to New York City public schools
<br>published by the nonprofit Advocates for Children.<br> Her book on New York City
high schools will be published in September.</FONT></EM> </P>
<table align=center width=100>
<td width=100>

Question by:smurfdesign
LVL 17

Accepted Solution

dorward earned 30 total points
ID: 9809326
PHP files are just HTML files with PHP code embedded in to them. You don't need to change any HTML to make a page work through a PHP parser.
LVL 15

Expert Comment

ID: 9814237
Set the file extension to *.php for PHP 4.x, *.php3 for PHP 3.x, or *.phtml for PHP 2.x.

Expert Comment

ID: 9837788
To make the above document a php file you should do the following:

1. change the extension to .php
2. now add php if you want. Note that some php code needs to be before the HTML. So your page will look like this:

## php code

You may also use php within the html just add the following code:
<?php ## php code ?>

Tell me if you need any further help :)

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Matthew
I am a very big proponent of technology compliance standards and strive to meet such criteria in all of my work. That includes my site, which is 100% XHTML 1.0 compliant as determined by the World Wide Web Consortium. https://www.matthewstevenkel…
Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System ( introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to count occurrences of each item in an array.

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question