Jay-> RE: [PHP] How to find <img> tag and get src of image

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




--- Jay Blanchard <jblanchard@xxxxxxxxxx> wrote:

> [snip]
> Hi everybody!
> I want to get src of image  form a $text, I have a
> below text
> 
> $Text = <table border="1" cellpadding="3%"
> cellspacing="3%"
> width="100%">
>    <tr>    <td width="20%">
>      <img align="middle" border="0"
> id=userupload/78/Autumn.jpg
> src=userupload/78/Autumn.jpg
> onClick="javascript:ViewImage(this.id);"
> width="100" height="100" >
>     </td>
>    <td></td></tr>   </table>
>   </td>
>   <td class="frame2_middle_right"></td>
>  </tr>
>  <tr>
>   <td class="frame2_bottom_left"></td>
>      <td class="frame2_bottom_center">
>      </td>
> [/snip]
> 
> And I want a pony!
> 
> RTFM http://www.php.net/regex


Jay, a warning would be nice before you post stuff
like you posted above... I am _supposed_ to be working
here and suddenly when I burst into laughter and then
control myself to a big smile on my face everyone
looks at me and thinks I am not working but just
goofing off on the job.

Cheers!

------
- The faulty interface lies between the chair and the keyboard.
- Creativity is great, but plagiarism is faster!
- Smile, everyone loves a moron. :-)

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux