Jump to content

vinpkl

Members
  • Posts

    448
  • Joined

  • Last visited

Everything posted by vinpkl

  1. Hi all I am using magnific popup script to open two popups. First popup is opening on click of a link. Second popup is opening automatically on page load after 5 second interval. Now i want is, if First magnific Popup is already opened, then second magnific popup should not open till first is open. How can i do it ?? here is a codepen http://codepen.io/vineet/pen/EjvxLN Thanks Vineet
  2. Hi Barand This worked perfect. Thanks Vineet
  3. Hi i have below format date and time stored in database 2015-06-06 02:13:54 How can i reformat it, so it displays as 06-06-2015 02:13:54 Thanks Vineet
  4. Hi Gizmola thanks for this solution. if worked for me thanks vineet
  5. Hi How can i create a client id which is 64 bit integer as described on this below link https://developers.google.com/analytics/devguides/collection/protocol/v1/email#client-id-cid thanks Vineet
  6. hi andy thanks. it works great. vineet
  7. hi Andy i saw the link you gave but they have no where explained how to separate the two numeric values that we get. what they are checking is about numeric and alpha numeric values. that i have already done. vineet
  8. hi all i have a string like "123 abc 45". i am using the below code to extract numeric from string. The result i get for numeric value is "12345". How can i get the result as "123" and "45" as separate two keywords. <?php $string = "123 abc 45"; $chars = ''; $nums = ''; for ($index=0;$index<strlen($string);$index++) { if(isNumber($string[$index])) $nums .= $string[$index]; else $chars .= $string[$index]; } echo "Chars: $chars<br>Nums: $nums"; function isNumber($c) { return preg_match('/[0-9]/', $c); } ?> vineet
×
×
  • 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.