title: I want to use php to scrape the input value readonly value using simple html dom, I keep getting a blank return
body: <p>I would like to scrape the readonly value from the following code below inside this input form, I am using php with simple html dom but I keep getting a blank reply. what can I do to make it give me that value.</p>
  
  <pre><code>&lt;input id="copy-video-embed" type="text" readonly value="&lt;iframe src=&amp;quot;https://www.example.com/embedframe/52285029&amp;quot; frameborder=0 width=510 height=400 scrolling=no allowfullscreen=allowfullscreen&gt;&lt;/iframe&gt;" class="form-control"&gt;
  </code></pre>
  
  <p>so I have tried to the code below but does not seem to work </p>
  
  <pre><code>$node = $stuff-&gt;find('input[type=text]' , 0)-&gt;plaintext ;  print_r($node) ;
  </code></pre>