June 23, 200917 yr Hi All, I want to put links to images located in the "images" folder on the server into MySQL !! Do I do it the same way has html ?? <img src="images/a image1.jpg" alt="" /> The reason I ask I have built a CMS but my client doesn't want to just update text content, he also require updates of images. Thanks in advance... Lee EDIT: Sorry forgot to mention am using FCKEditor to do the text content and want to do the same for images
June 24, 200917 yr $aQuery = mysql_query("SELECT image FROM pages WHERE page_id=$pageID"); $aResult = mysql_fetch_row($aQuery); echo "<img src=\"/image/".$aResult[0].\" alt=\"This is the uploaded image\" />"; Something like that %^^^
Create an account or sign in to comment