User Profile

Collapse

Profile Sidebar

Collapse
ddsuresh
ddsuresh
Last Activity: Jun 11 '11, 03:13 AM
Joined: Jun 20 '10
Location: Bangalore
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Code:
    function countdown(yr, mo, da, deadlineHr, minute){
     
    var montharray = new Array("ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic");
    //deportes should be passing in UTC times, daylight savings not accurate for non-us
    var UTCDeadlineHr = deadlineHr;
    var UTCMilliseconds
    ...
    See more | Go to post

    Leave a comment:


  • Code:
    <script type="text/javascript">
    var currenttime = '<? echo date("F d, Y H:i:s", time()) ?>';
    var serverdate = new Date(currenttime);
    </script>
    The above code will get the server date time and parse it into javascript date and time.
    See more | Go to post

    Leave a comment:


  • Code:
    INSERT INTO $table1 (UID, `From`, PostDate, FileName, FilePath, Time) VALUES ('$UID', '$from', '$postDate', '$DBfileName', '$filePath', NOW())";
    You have to use the above sql code...
    See more | Go to post
    Last edited by Dormilich; Jun 20 '10, 10:02 PM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • Code:
    INSERT INTO $table1 (UID, [B]From[/B], PostDate, FileName, FilePath, Time)
    # VALUES ('$UID', '$from', '$postDate', '$DBfileName', '$filePath', NOW())";
    "From" sql keyword, if you want to use it as field name then you need to escape it like `From`.
    See more | Go to post

    Leave a comment:


  • You need to create properties on the form want to read the values. For example

    Code:
    public string Username
    {
        get; set;
    }

    You can pass the username to your form object.
    Code:
    myformObj.Username = "ddsuresh";
    Suresh
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...