I am a PHP programmer. I am having a problem with image tag. I need to know the difference and the purpose of using an image tag like this
<img src="/images/new.jpg>" , <img src="images/new.jpg"> and <img src="../images/new.jpg"> i am facing a problem because of this, i am editing an existing website in which the src or href of image, style, anchor tags etc., are written like this src="/images/someimage.jpg" , when i click a link it goes up one level say for eg: the page i am in was www.demo.com/user/list/index.php. When i click a link with "new.php" it goes like this www.demo.com/user/index.php. it comes out of the link folder. Actually this site is an existing site running site well and good. but now i am configuring it in a new web server its not running for me. Please advice ASAP.