chey Posted July 10, 2006 Share Posted July 10, 2006 this is my code[code]/* UPDATE CART / DELETE FROM CART */ $action_url = $_SERVER['SERVER_PORT']=="443" ? SECUREURL : URL . "index.php"; $product_rows[$i]['update_form'] = "<input type=\"hidden\" name=\"page\" value=\"". $_REQUEST['page'] ."\" /> <input type=\"hidden\" name=\"func\" value=\"cartUpdate\" /> <input type=\"hidden\" name=\"product_id\" value=\"". $_SESSION['cart'][$i]["product_id"] ."\" /> <input type=\"hidden\" name=\"Itemid\" value=\"". @$_REQUEST['Itemid'] ."\" /> <input type=\"hidden\" name=\"description\" value=\"". $cart[$i]["description"]."\" /> <input type=\"image\" name=\"update\" title=\"". $VM_LANG->_PHPSHOP_CART_UPDATE ."\" src=\"". IMAGEURL ."ps_image/edit_f2.gif\" border=\"0\" value=\"". $VM_LANG->_PHPSHOP_UPDATE ."\" /> </form>"; $product_rows[$i]['delete_form'] = "<form action=\"$action_url\" method=\"post\" name=\"delete\" /> <input type=\"hidden\" name=\"option\" value=\"com_virtuemart\" /> <input type=\"hidden\" name=\"page\" value=\"". $_REQUEST['page'] ."\" /> <input type=\"hidden\" name=\"Itemid\" value=\"". @$_REQUEST['Itemid'] ."\" /> <input type=\"hidden\" name=\"func\" value=\"cartDelete\" /> <input type=\"hidden\" name=\"product_id\" value=\"". $_SESSION['cart'][$i]["product_id"] ."\" /> <input type=\"hidden\" name=\"description\" value=\"". $cart[$i]["description"]."\" /> <input type=\"image\" name=\"delete\" title=\"". $VM_LANG->_PHPSHOP_CART_DELETE ."\" src=\"". IMAGEURL ."ps_image/delete_f2.gif\" border=\"0\" value=\"". $VM_LANG->_PHPSHOP_CART_DELETE ."\" />[/code]i want to specify the height & width of the image to the normal size which is '19'. how do i do that wiht php code? Quote Link to comment https://forums.phpfreaks.com/topic/14159-php-settings/ Share on other sites More sharing options...
redarrow Posted July 10, 2006 Share Posted July 10, 2006 I thort you can do width and height within the img tagexample only<img src="image.jpg width="10" height="7"></img> Quote Link to comment https://forums.phpfreaks.com/topic/14159-php-settings/#findComment-55456 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.