Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by storm197

  1. storm197

    Scheduler - Logon - Program - Logoff

    Hi, I have to schedule a program to run every night on a Windows 2003 machine. To work correctly, this program require that the user that is running it must be LOGGUED (I cannot use the RUN AS XXX ACCOUNT function). So what I want to do is to automate everynight the Windows Login with the...
  2. storm197

    Safari Frame size problem

    Well, my friends, the problem was the double double quotes. Also, by putting 200,* in the rows, everything came identical on every browser. Thanks for your help. Nick
  3. storm197

    Safari Frame size problem

    Hi, I'm developping an application and some of my users are on Safari for MAC. I'm using a page with two horizontal frames. height of the first is 270 Height of the second is 530. On IE it looks fine, but on Safari for MAC, it looks more like a 400 of height for both. Any code I can put to...
  4. storm197

    Counting number of days

    Really really strange here.... It works fine if I put the following code : echo "<td bgcolor=\"$row_color\" align=\"center\" class=\"texte\">$date_created<br>$date_resolved"; $nb_days =(strtotime($date_resolved) - strtotime($date_created))/86400; echo "<br>".$nb_days; echo "</td>"...
  5. storm197

    Counting number of days

    The variables come from a MSSQL query which is done just before the function. For the query, I do the usual code : While ($ligne_students_quitted = mssql_fetch_array($result_students_quitted)) { extract ($ligne_students_quitted); $nb_days =(strtotime($date_resolved) -...
  6. storm197

    Counting number of days

    Yeah, I thought about this one. But when I remove the Quotes, if gives me this error : Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in c:\Inetpub\wwwroot\inv-dev\administrator\list_laptops_cases.php on line 247 If I just echo my variable $date_created and...
  7. storm197

    Counting number of days

    Ok, I tried with your example and everything works fine if I put the dates mannually in the code. But if I try to use the variables, it just doesn't work. Here is my code : $nb_days =(strtotime('$date_resolved') - strtotime('$date_created'))/86400; Both strtotime return -1. I've enter...
  8. storm197

    Counting number of days

    Hello there, I have a question, I work on a system with a MSSQL database for DB server and PHP. The MSSQL server date format is the following : Feb 3 2005 12:00AM I have two date fields and I just want to calculate the number of days between those two dates. I tried with the following code...
  9. storm197

    Transfert an array variable to another page without using a form

    Ok, don't want to be too much dummie, but can you just show me a very short example on how you put arrays in session variables ?
  10. storm197

    Transfert an array variable to another page without using a form

    Hi, In a page, i'm using an array variable with multiple values. Is there a way to transfert the entire variable values to another page without using a Form tag? Can I put arrays in a session variable ? Thank you.
  11. storm197

    Win XP, SQL 2000 and PHP5

    I looked at the output of the Query and it is Null (not false). I also tried to put the resource link identifier and it still doesn't work. What is strange is the fact that it does only that to INSERT and UPDATE Queries, not for SELECT. Another strange thing is the fact everything works fine...
  12. storm197

    Win XP, SQL 2000 and PHP5

    Hi, I have an application working fine on a Win2K machine, SQL7 client, and PHP5. I Try (for internal reasons) to switch it to a WinXP, SQL2000, PHP5. After the switch, everything works fine except for one thing. When I make a INSERT or UPDATE query, the query runs, but I always get the OR...
  13. storm197

    Putting a value in an IMAGE field

    Thanx for your answers people. I'll be able to do what I want. I'm working in a controlled environment (Intranet) so everyone have their Javascript enabled. This forum is really useful.
  14. storm197

    Putting a value in an IMAGE field

    Ok, and how do I retreive the X value if my next page is in PHP ? (I am a real newbie in javascript).
  15. storm197

    Putting a value in an IMAGE field

    Hi, I need to use more that one submit button on a form (with a different value being processed). With the TYPE="SUBMIT", everything works fine with the following code: <form action="test2.php" method="POST" name="test"> <INPUT TYPE="SUBMIT" NAME="SUBMIT1" VALUE="1"> <INPUT TYPE="SUBMIT"...

Part and Inventory Search

Back
Top