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...
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...
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...
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>...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.