how can i popup picture in php?
when picture开发者_StackOverflow社区 viewed ,when me click on it picture will display as pop up, and back screen will be light black?
Shouldn't be done with PHP alone, since you don't want to reload your page every time you click on an image. Google for lightbox and use an appropriate JavaScript library for client side effects :)
use jquery there are many plugins to do it http://leandrovieira.com/projects/jquery/lightbox/ for example
See this site: http://ajaxian.com/archives/lightboxjs-easy-image-overlays-with-javascript
Check out Lightbox or Lightbox2
精彩评论