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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. jnyvtka

    Reading part of text file into array

    I was just checking the log file to see after I made the changes above and this is what I have: PHP Notice: Undefined offset: -1 in AW.php on line 5 So I took it out the -1 from the line and then ran the file and it returned the first line of the file so I am thinking that the search fuction...
  2. jnyvtka

    Reading part of text file into array

    Hi Itshim... Currently that codes doesn't return anything...so what I have tried so far is to test parts of it. if I do $file_lines = file('file01062005.txt'); $num_lines = count ($file_lines); echo ("Total lines in file: " . $num_lines); It prints out the number of lines so I know that...
  3. jnyvtka

    Reading part of text file into array

    Hello I have been struggling with this a bit so if anyone can offer any suggestions that would be great. I am writing a php page that need to do the following: 1. Look in a certain directory for a new file that gets created every morning. 2. Grab the date and a number from a certain section of...
  4. jnyvtka

    Pad leading 0 in front of string

    !1 that worked thanks for the response. I think I can follow everyting in that function so I learned something also.....
  5. jnyvtka

    Pad leading 0 in front of string

    Hello I have a form in which a user may enter 0-5 characters. If the user enters less then 5 numbers in this field I need to pad it with 0's to make it 5. Can anyone help me out with this or lead me in the right direction here is what I have tried so far and nothing.... <html> <head>...

Part and Inventory Search

Back
Top