Okay, I'm trying to get this code to work, if you can tell me what the problem is I keep getting an error
Here is the full HTML page code.
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<meta name="GENERATOR" content="Microsoft FrontPage 4.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>New Page 1</title>
</head>
<body>
<?php
$array = array(
"names" => array('person1' => 'Jane',
'person2' => 'John',
'person3' => 'Fred',
'person4' => 'Anne'),
"places" => array('place1' => 'America',
'place2' => 'England',
'place3' => 'Australia',
'place4' => 'South Africa'),
"nationality" => array('nation1' => 'American',
'nation2' => 'English',
'nation3' => 'Austrian',
'nation4' => 'African'))
$echo "If $array['names']['person3']":
$echo "and $array['name']['person1']";
$echo "had sex, and $array['name']['person1']";
$echo "got pregnant in $array['places']['place1']";
$echo ", but had the baby in $array['places']['place4']";
$echo ", would the baby be of the $array['nationality']['nation1']";
$echo "nationality, or of the $array['nationality']['nation4']";
$echo "nationality. That is my question.";
?>
</body>
</html>
I cant figure it out.