No. You have to stagger your quotation marks or escape with slashes. echo("<img src='../images/update.gif' />"); Code (markup): echo("<img src=\"../images/update.gif\" />"); Code (markup):
Here's the code <input name="Update" type="submit" class="dateup" id="Update" value="<?php if(isset($_SESSION["customerID"]) && $_SESSION["customerID"] != "0") { echo("Update"); }else{echo("Register");}?>"> Code (markup): I want to replace "Update" and "Register" with images.
Sorry for not making clear. I want replace the word "update" and "Register" in both echo statements for image.