title: Notice: Undefined offset: 0 in C:\xampp\htdocs\Hotel\Manager\details.php on line 341
body: <p>I have an array  in <code>php</code> 
  Contents of array are</p>
  
  <pre><code>print_r($room_array);
  
  Array ( [1] =&gt; 102 );
  </code></pre>
  
  <p>Now how do I change the value of index 1 to index 0</p>