Solved

php code

Posted on 2003-11-23
6
406 Views
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 http://www.mancomp.org/news/more1.php
thank you for your help evrybody

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML #336699.0
Transitional//EN">

<html>
<head>
<TITLE> In The News...  </TITLE>
      <link rel="stylesheet" type="text/css" href="http://www.mancomp.org/css/mc.css">
</head>

<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>
 <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>
 </tr>
 <tr>
      <td bgcolor="#80A4C8" colspan="4" align="center">
       <table align="center" bgcolor="#80A4C8">
            <tr>
            <td>
            <a class="menubar" href="http://www.mancomp.org/"><font color="#ffffff">@ mancomp.org</font> </a>
            </td>
            <td>
            <a class="menubar" href="http://www.mancomp.org/guid/guid.php">[ Guidance ]</a>
            </td>
            <!-- <td>
            <a class="menubar" href="http://www.mancomp.org/acad/acad.php">[ Academics ]</a>
            </td> -->
            <td>
            <a class="menubar" href="http://www.mancomp.org/cdi/cdi.php">[ CDI ]</a>
            </td>
            <td><!--DWLayoutEmptyCell-->&nbsp; </td>
            <td><!--DWLayoutEmptyCell-->&nbsp; </td>
            <td><!--DWLayoutEmptyCell-->&nbsp; </td>
            </tr>
        </table>
  </td>
 </tr>
  <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>
 <tr>
    <td bgcolor="#80A4C8" width="20%" height="100%" valign="top">
      
      <table width="100%" bgcolor="#80A4C8">
      <!--DWLayoutTable-->
      <tr>
        <td width="679" height="21" align="left"> <A class="menuheader" HREF="http://www.mancomp.org/principal_message/principal_message.php" title="Welcome to our web site!">Principal's
          Welcome</A> </td>
        <td width="8">&nbsp;</td>
      </tr>
      <tr>
        <td height="21" align="left"> <A class="menuheader" HREF="http://www.mancomp.org/guid/guid.php" title="Infomration about school registration and more">Guidance</A>
        </td>
        <td>&nbsp;</td>
      </tr>
      <!-- <tr>
      <td align="left" colspan="2">
    <A class="menuheader" HREF="http://www.mancomp.org/acad/acad.php" title="the Arts, Engslish, History, Math, the Sciences">Academics</A>
    </td>
    </tr> -->
      <tr>
        <td height="24" align="left" valign="top"> <A class="menuheader" HREF="http://www.mancomp.org/cdi/cdi.php" title="Comprehensive Development, Inc.">CDI</A>
        <td> </tr>
      <tr>
        <td height="26" align="left" valign="top"> <A class="menuheader" HREF="http://www.mancomp.org/news/news.php" title="Press releases about MCNDHS">In
          The News</A>
        <td></tr>
      <tr>
        <td height="24" align="left" valign="top"> <A class="menuheader" HREF="http://www.mhss.org/" title="Manhattan High Schools Superintendency">MHSS</A>
        <td></tr>
      <tr>
        <td height="153" align="justify" valign="top"> <a href="http://www.nycenet.edu"><img src="http://www.mancomp.org/seal.jpg" width="93" height="93" border="0" alt="NYC BOE"></a>
        <td></tr>
    </table>
      </td>
    <td bgcolor="#ffffff" width="2%" height="100%"></td>
<td bgcolor="#ffffff" width="76%" height="100%" valign="top">
      <h2><center>
        We Listen A Lot
</center></h2>
<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>
<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>

<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>

<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>

<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>

<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>

<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>

<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>

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

<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>

<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>

<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
publicschoolreports.org, <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>
<P><EM></EM>&nbsp;</P>
<table align=center width=100>
<tr>
<td width=100>
</body>
</html>


0
Comment
Question by:smurfdesign
6 Comments
 
LVL 17

Accepted Solution

by:
dorward earned 30 total points
Comment Utility
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.
0
 
LVL 15

Expert Comment

by:Timbo87
Comment Utility
Set the file extension to *.php for PHP 4.x, *.php3 for PHP 3.x, or *.phtml for PHP 2.x.
0
 
LVL 4

Expert Comment

by:Tagor
Comment Utility
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
## php code
?>
HMTL 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 :)
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
JavaScript has plenty of pieces of code people often just copy/paste from somewhere but never quite fully understand. Self-Executing functions are just one good example that I'll try to demystify here.
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now