[PHP-DB] multi-dimensional array

2002-01-24 Thread tomhilton
Hi, I am trying to load a multi-dimensional array to my mysql database and am having difficulty reading the array. I created the array in a script, and sent it to another script through a form. One of the variables that gets passed is $home_team[][]. with the outer array being the week #, and

[PHP-DB] string compare function

2002-01-17 Thread tomhilton
Hi, I'm having a problem with the stcmp() function. I have it comparing two string variables, $pword and $conf_pword, in a script. I know they both have values, but the result always compares to 1 when $pword is the first variable in the function, and -1 when $pword is the 2nd variable in the

[PHP-DB] string compare function

2002-01-17 Thread tomhilton
Hi, this is more of an earlier post regarding the strcmp function and my problems with it on my Win98 machine. This is the actual code I used for the strcmp function, $errors=0; if (empty($username)||empty($pword)||empty ($conf_pword)||empty($redirect)) { echo h3Please hit your browser's