javascript - show image name through browse field in php -


how can show image name through browse field. sorry that, new in php. use code, it's not working

<input   id="photo"   type="file"   value="<?php echo $results['image'];?>"   class="form-control"   name="image" /> 

you can not show image on input field.

what can is:

<img src="allyourdomainurl/<?php echo $results['image'];?>" /> 

that show real image user.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -