Top Menu

Category Archives HTML

Here's an order confirmation email template with products, formatted in HTML and CSS: <!DOCTYPE html> <html> <head> <title>Order Confirmation for [Order Number]</title> <style> /* Define styles for the table */ table { border-collapse: collapse; margin-bottom: 20px; width: 100%; } th, td { border: 1px solid black; padding: 10px; text-align: left; } th { background-color: #ddd; } tfoot td { font-weight:…

What Are HTTP And HTTPS? HTTP  is the cornerstone web technology that helps to transmit and share information across the WWW. HTTPS is the second version of HTTP. It will make the Internet a safe haven for day-to-day transactions like eCommerce, Internet banking, instant messaging, video chat, file transfer, cloud storage, etc. SSL Makes All The Difference The key point…

If you are tried installing windows 7 on your PC and it’s failed again and again due to various annoying reasons, you’ve probably come to realize that there is large Consume disk space being eaten up by a folder called Windows.old Windows.old is automatically generated whenever you perform an fail installation of Windows 7 with a previous version of the OS…

 Add search to your site  Once you've created your custom search engine, you can add the Custom Search element to your site so that visitors can use it. To do this, you'll need to copy some code and paste it into your site's HTML where you want your search engine to appear.<form method="get" action="GoogleSearch.htm" target="_top">    <table border="0" align="right" cellpadding="0" cellspacing="0">       …

Recently when working on my site i got a requirment wherein i user can add multiple input text on page in different textboxes, and these textboxes needs to be created dynamically as per user need. So i decided to do it in jQuery. it’s quite easy to add or remove a textbox dynamically. The idea is quite simple, just combine…

Learn how to use the PHP GD library in your PHP program to generate dynamic images. Learn how to create and manipulate the GIF, PNG and JPG images.<?php# Note: Install GD laibreries $filename = '194_card.jpg';//orignal file $filename1 = '1.png';//save file name whoes you save list($current_width, $current_height) = getimagesize($filename);$left = 0; //crop left margin$top = 0;//crop right margin$crop_width = 1056; $crop_height = 400;$canvas = imagecreatetruecolor($crop_width,…

How can import excel file data in mysql with the help of php. To import excel data into php-mysql records first create a table with required fields. Make database connection. Open excel file and read columns one by one and store in variables.First Method******************* import excel data to php code****************/$handle = fopen("Book1.csv", "r");while (($data = fgetcsv($handle)) !== FALSE) { $num…

file upload with progress barjquery upload file with progress barStep 1.<html><head><title>Image upload without refresh page</title></head><scripttype="text/javascript"src="scripts/jquery.min.js"></script>//search this file on google <scripttype="text/javascript"src="scripts/jquery.form.js"></script> //search this file on google<scripttype="text/javascript">$(document).ready(function() { $('#photoimg').live('change', function(){ $("#preview").html(''); $("#preview").html('<img src="loader.gif" alt="Uploading...."/>'); //download load loading image  $("#imageform").ajaxForm({ target: '#preview' }).submit(); }); }); </script><style>body{font-family:arial;}.preview{width:200px;border:solid 1px #dedede;padding:10px;}#preview{color:#cc0000;font-size:12px}</style><body><divstyle="width:600px"><formid="imageform"method="post"enctype="multipart/form-data"action='ajaximage.php'>Upload your image <inputtype="file"name="photoimg"id="photoimg"/><br><inputtype="text"id='tt'name='tt'></form><divid='preview'></div></div></body></html>Step 2. <?php$path = "img/"; // set image upload path $valid_formats = array(".jpg", ".png",…

Close