Jump to content

PravinS

Members
  • Content Count

    459
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by PravinS

  1. Set headers, 4th parameter of mail() function

    $headers  = 'MIME-Version: 1.0' . "\r\n";
    $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    
    // Additional headers
    $headers .= 'To: TO_NAME <TO_MAIL>' . "\r\n";
    $headers .= 'From: FROM_NAME <FROM_MAIL>' . "\r\n";
    $headers .= 'Cc: CC_MAIL' . "\r\n"; 
    $headers .= 'Bcc: BCC_MAIL' . "\r\n";
  2. You can use UPDATE query like this

    UPDATE table_name SET phone = CONCAT('353',TRIM(LEADING '0' FROM phone)) WHERE SUBSTRING(phone,1,1) = '0';

    before that use the SELECT query to check if its correct or not

    SELECT phone, CONCAT('353',TRIM(LEADING '0' FROM phone)) FROM table_name WHERE SUBSTRING(phone,1,1) = '0';
    

    hope this will find you helpful

  3. Try this

    <html>
    <head>
    <style type="text/css">
    .colleft{
    	float:left;
    	width:50%;
    	text-align:left
    }
    .colright{
    	float:right;
    	width:50%;
    	text-align:right;	
    }
    
    </style>
    </head>
    <body>
    <div>
        <div class="colleft">Left</div>
        <div class="colright">Right</div>
    </div>
    </body>
    </html>
    
    
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.