PHP Multidimensional Array HELPPP

Hi, help please.
Why am i getting error message
"Notice: Uninitialized string offset: 14001 in C:\xampp\htdocs\Assi\detailspage.php on line 18
Notice: Uninitialized string offset: 1 in C:\xampp\htdocs\Assi\detailspage.php on line 18
ID#:
Notice: Uninitialized string offset: 14001 in C:\xampp\htdocs\Assi\detailspage.php on line 19
Notice: Uninitialized string offset: 2 in C:\xampp\htdocs\Assi\detailspage.php on line 19
Name:
Notice: Uninitialized string offset: 14001 in C:\xampp\htdocs\Assi\detailspage.php on line 20

Details page:

<html>
<head>
<title>Animal Rescue: Details Page </title>
</head>
<body>
<center>
<?php
$num= $_GET[‘id’];
$id=array(
array(“/assi/popi.jpg”,14001,“Popi”,“Shih Tzu”,“Male”, “8yrs 1mth”, “HDB Approved”),
array(“/assi/meow.jpg”,14002,“Meow”,“Local”,“Male”, “4yrs 2mth”, “HDB Approved”),
array(“/assi/muffin.jpg”,14003,“Muffin”,“Local”,“Male”, “5yrs”, “HDB Approved”),
array(“/assi/tabbi.jpg”,14004,“Tabbi”,“Local”,“Male”, “8yrs”, “HDB Approved”),
);

			{
			echo "&lt;img width='500' height='500' scr=".$id=[$num][0]."&gt; &lt;br/&gt;";
			[U]echo "ID#: " . $id[$num][1] . "&lt;br/&gt;";[/U]
			[U]echo "Name: " . $id[$num][2] . "&lt;br/&gt;";
			echo "Breed: " . $id[$num][3] . "&lt;br/&gt;";[/U]
			}
		
		
		
		?&gt;
	&lt;/center&gt;
&lt;/body&gt;

</html>

It is the following:

.$id=[$num][0].

You are accidentally performing assignment for $id.

I think you meant to use

.$id[$num][0].

i tried. Same error.

i edited my code but it is still not working.
Error:
Fatal error: Cannot use isset() on the result of an expression (you can use “null !== expression” instead) in C:\xampp\htdocs\Assi\detailspage.php on line 48

Details page:

<html>
<head>
<title>Animal Rescue: Details Page </title>
</head>
<body>
<center>
<?php

			$id=isset($_GET['id'])? $_GET['id']: '';
			$data= array(
			'14001'=&gt;array(
			'image' =&gt;'&lt;img src="/assi/popi.jpg" alt="Popi" width="200" height="320" border="0" &lt;/img&gt;',
			'id'=&gt;'14001',
			'Name'=&gt;'Popi',
			'Breed'=&gt;'Shih Tzu',
			'Gender'=&gt;'Male',
			'Age'=&gt;'8yrs 1mth',
			'Adopt Condition'=&gt;'HDB Approved'),
			
			'14002'=&gt;array(
			'image' =&gt;'&lt;img src="/assi/meow.jpg" alt="Meow" width="200" height="320" border="0" &lt;/img&gt;',
			'id'=&gt;'14002',
			'Name'=&gt;'Meow',
			'Breed'=&gt;'Local',
			'Gender'=&gt;'Male',
			'Age'=&gt;'4yrs 2mth',
			'Adopt Condition'=&gt;'HDB Approved'),
			
			'14003'=&gt;array(
			'image' =&gt;'&lt;img src="/assi/muffin.jpg" alt="Muffin" width="200" height="320" border="0" &lt;/img&gt;',
			'id'=&gt;'14003',
			'Name'=&gt;'Muffin',
			'Breed'=&gt;'Local',
			'Gender'=&gt;'Male',
			'Age'=&gt;'5yrs',
			'Adopt Condition'=&gt;'HDB Approved'),
			
			'14004'=&gt;array(
			'image' =&gt;'&lt;img src="/assi/tabbi.jpg" alt="Tabbi" width="200" height="320" border="0" &lt;/img&gt;',
			'id'=&gt;'14004',
			'Name'=&gt;'Tabbi',
			'Breed'=&gt;'Local',
			'Gender'=&gt;'Male',
			'Age'=&gt;'8yrs',
			'Adopt Condition'=&gt;'HDB Approved'));
			
			
			[U]if(isset($id || $id){[/U]
			echo "{$data[$id]['image']}"};
			
			
			
		
		
		
		?&gt;
	&lt;/center&gt;
&lt;/body&gt;

</html>

As cpradio pointed out, having the = sign is the only major error in the code. The other would be to make sure GET[‘id’] is set and then assign to the variable and use as the key to grab record and wrap those sections in that condition like so.

<html>
<head>
<title>Animal Rescue: Details Page </title>
</head>
<body>
<center>
<?php
$id=array(
array("/assi/popi.jpg",14001,"Popi","Shih Tzu","Male", "8yrs 1mth", "HDB Approved"),
array("/assi/meow.jpg",14002,"Meow","Local","Male", "4yrs 2mth", "HDB Approved"),
array("/assi/muffin.jpg",14003,"Muffin","Local","Male", "5yrs", "HDB Approved"),
array("/assi/tabbi.jpg",14004,"Tabbi","Local","Male", "8yrs", "HDB Approved"),
);

if(isset($_GET['id']) && array_key_exists($_GET['id'],$id)){
	$num = $_GET['id'];
	echo "<img width='500' height='500' scr=" . $id[$num][0] . "> <br/>";
	echo "ID#: " . $id[$num][1] . "<br/>";
	echo "Name: " . $id[$num][2] . "<br/>";
	echo "Breed: " . $id[$num][3] . "<br/>";
}
?>
</center>
</body>
</html>

Your new error is this line:

if(isset($id || $id){

It should read:

if(isset($id){