Jump to content

wlogeshwaran

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

wlogeshwaran's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi , I am coding for an intranet site in which I have to get Username of the windows machine. How to get that in Javascript ? Is that possible to get the username in PHP ?If yes, tell me how?? Thanks in advance.
  2. This piece of code deletes the row having time less than system time. 1) $tim=time(); $timer=time()+100; 2) mysql_query("delete from test where time < $tim "); 3) mysql_query("update test set time=$timer where status='Waiting'); I want to execute line 3 , only when line 2 actually deletes a row in the table. Suggest me an idea or tell me what i have to do to check whether line 2 has actually deleted the row. Tell me the return value of the sql query once it get executed.
×
×
  • 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.