Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #3757
| From | "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> |
|---|---|
| Newsgroups | comp.lang.php |
| Subject | Re: Images retrives |
| Date | 2011-11-11 13:19 +0100 |
| Organization | http://alvaro.es/ |
| Message-ID | <j9j3th$gss$1@dont-email.me> (permalink) |
| References | <189232.705.1321011949235.JavaMail.geo-discussion-forums@prdy11> |
El 11/11/2011 12:45, sritullimilli@gmail.com escribió/wrote: > i didn't get the images from mysql database through php script > i am get this error > > <img src='���JFIF > ... The usual way to insert images in web sites is to use the <img> tag and write the picture's URL in the src attribute. E.g.: <img src="picture.jpg"> https://developer.mozilla.org/En/HTML/Element/Img While you can actually paste the full picture into your HTML document, it's not as simple as that: you'd have to add a prefix, escape the image properly and wait for IE users to complain: http://es.wikipedia.org/wiki/Data:_URL I guess you want to use the traditional approach. You have to write two different scripts: one that generates the HTML and one that generates the picture. -- -- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain -- Mi sitio sobre programación web: http://borrame.com -- Mi web de humor satinado: http://www.demogracia.com --
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Images retrives sritullimilli@gmail.com - 2011-11-11 03:45 -0800
Re: Images retrives "Álvaro G. Vicario" <alvaro.NOSPAMTHANX@demogracia.com.invalid> - 2011-11-11 13:19 +0100
Re: Images retrives The Natural Philosopher <tnp@invalid.invalid> - 2011-11-11 13:02 +0000
Re: Images retrives Jerry Stuckle <jstucklex@attglobal.net> - 2011-11-11 09:10 -0500
Re: Images retrives Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-12 00:22 +0100
Re: Images retrives Robert Hairgrove <nobody@hogwash.com> - 2011-11-12 00:34 +0100
Re: Images retrives Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-11-12 00:49 +0100
Re: Images retrives Jerry Stuckle <jstucklex@attglobal.net> - 2011-11-11 19:37 -0500
csiph-web