User Profile

Collapse

Profile Sidebar

Collapse
ryachza
ryachza
Last Activity: Oct 28 '09, 06:38 PM
Joined: Jun 2 '09
Location: Whitehall, PA
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ryachza
    replied to Stick to left
    Add 'padding-left: 0;' to the UL#Tabs declaration. You set padding-bottom, but never zeroed out the left.

    A recommendation for the future: try setting all margins/padding to 0 and build from there, rather than trying to debug default browser behavior.
    See more | Go to post

    Leave a comment:


  • ravideep
    ravideep posted a Visitor Message for ryachza
    would you please tell me the physical path of cookie with the name PHPSESSID (as you mentioned)
    See more | Go to post

  • ryachza
    replied to c#
    in .NET
    Taken literally, I would say:

    Code:
    using System.Runtime.InteropServices;
    class Program
    {
    [DllImport("user32")]
    public static extern int MessageBox(int hwnd, string pText, string pCaption, int uType);
    public static void Main()
    {
    MessageBox(0, "Test Title", "Test Caption", 0);
    }
    }
    See more | Go to post

    Leave a comment:


  • A. CommandBehavior is an enumeration, so it would be CommandBehavior .CloseConnectio n (no parentheses).

    B. The only way I know of to specify the command behavior of a datareader is by passing the value (CommandBehavio r.CloseConnecti on) when calling ExecuteReader() on a given command object.
    See more | Go to post

    Leave a comment:


  • ryachza
    replied to SQL server 2005 problem
    in .NET
    You appear to be missing the opening single quote before " & temp, so ATM rather than 'ATM' appears in your VALUES list.
    See more | Go to post

    Leave a comment:


  • ryachza
    replied to how to update record with 2 tables?
    in PHP
    I gather you are asking for assistance creating an UPDATE query across multiple tables?

    Code:
    UPDATE tableName t1 JOIN tableName t2 ON t1.field = t2.field SET t1.field = 'value', t2.field = 'value', etc. WHERE t1.field = 'value' AND t2.field = 'value';
    See more | Go to post
    Last edited by Dormilich; Sep 15 '09, 07:46 PM. Reason: Please use [code] tags when posting code

    Leave a comment:


  • I believe it is stored in a cookie with the name PHPSESSID.
    See more | Go to post

    Leave a comment:


  • ryachza
    replied to search result highlight
    My initial thought is to use regular expressions ignoring case to find and replace the keyword.

    Second would be to convert the resulting text to lower, loop on IndexOf to find all character locations of the keyword, and use those locations in the mixed-case string with the length of the keyword.
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...