Re: [PHP] Re: Why Can't I get this to work

2003-06-30 Thread Jeff Harris
On Jun 28, 2003, "Ron Clark" claimed that: |OK, normally I do not respond to my own posts, but I have been shown that I |did not get the whole script. So here it is: | |for ($i=0; $i<$number_of_alerts; $i++) { | |// Split each line | |$line = explode(" ", $ipfwlog[$i]); | |$line[1] = intval($line[

Re: [PHP] Re: Why Can't I get this to work

2003-06-28 Thread Ray Hunter
It depends on what data types are your fields in the database. U are quoting each value which might not be the case. You should check the mysql_error function to see what error the database is giving back to you.. -- BigDog On Sat, 2003-06-28 at 12:42, Ron Clark wrote: > OK, normally I do not re

[PHP] Re: Why Can't I get this to work

2003-06-28 Thread Ron Clark
OK, normally I do not respond to my own posts, but I have been shown that I did not get the whole script. So here it is: for ($i=0; $i<$number_of_alerts; $i++) { // Split each line $line = explode(" ", $ipfwlog[$i]); $line[1] = intval($line[1]); $IPFWsql = "INSERT INTO Firewall_Logs (month, da