Jump to content

chintansshah

Members
  • Posts

    244
  • Joined

  • Last visited

Posts posted by chintansshah

  1. 	var date1 = new Date("18/09/2010");
    		var date2 = new Date("01/10/2010");
    
    		var date1Comp = date1.getTime(); // milliseconds
    		var date2Comp = date2.getTime();
    
    		if (date1Comp < date2Comp)
    		{
    		   alert("From date is earlier than To date.");
    		   return false;
    		}

     

    If I used above code to compare then it give me wrong result,.

     

    Can anybody help, it's very urgent.

  2. Hello Friends,

     

    I am very confused about how to implement Crontab in such scenario.

     

    I want to run crontab every 20 mins from 12:00AM(midnight) to till morning 6:00AM only.

     

    Please help.

  3. <label for='gender'>Male: </label>

       

    <input type="radio" name="Gender" value='<?php echo htmlentities($male) ?>'/>

        <br />

    <label for='Gender'>Female:</label> 

    <input type="radio" name="Gender" value='<?php echo htmlentities($female) ?>'/>

        <br />

     

    I think, in above code, value is not assigned to $male or $female, Please check from where you assign your value.

  4. Very first hide your errors, because attackers or hackers will come if your site errors are displayed to them, they come to know where is the window to get the data and messed all things in the site.

     

    I will help you to hide errors and avoid xss attacks, send PM to me.

  5. mysql_close() closes the non-persistent connection to the MySQL server that's associated with the specified link identifier. If link_identifier isn't specified, the last opened link is used.

×
×
  • 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.