RE: [PHP] Help With Error

2004-10-19 Thread php-list
Pablo, Thanks for responding. I found out what the problem was. There was an argument that was empty (i.e. empty string) in the add_cat() method. Thanks for your help, I really appreciate it. :) [snip] Notice: Undefined index: 0 in L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.p

RE: [PHP] Help With Error

2004-10-17 Thread Pablo Gosse
[snip] Notice: Undefined index: 0 in L:\localhost\catalog\catalog_0.1.0\includes\classes\tree.class.php on line 77 [/snip] It's telling you that $data['0'], which is used twice in your query, is not a valid index (ie. it doesn't exist) for the $data array. Why don't you dump the $data array after

Re: [PHP] Help with Error, I am Trying!!

2003-01-21 Thread Chris Hewitt
Karl James wrote: Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Create_Account.php on line 5 http://www.ultimatefootballleague.com/Create_Account.phps I'm Trying to get the values of the form to echo out and to insert into my managers table. If you don't se

Re: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Chris Knipe
if (!$_POST['Team_Name'] || !$_POST['First_Name'] || !$_POST['Last_Name'] || !$_POST['Email'] || !$_POST['Username'] || !$_POST['Password']) header ("location: http://www.ultimatefootballleague.com/Create_Account.htm";); } Change to: if (!$_POST['Team_Name'] || !$_POST['First_Name'] || !$_

RE: [PHP] Help with Error, I am Trying!!

2003-01-20 Thread Henry
you miss a { at first if statement -Original Message- From: Karl James [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 12:28 PM To: php Subject: [PHP] Help with Error, I am Trying!! Parse error: parse error, unexpected '}' in /home/virtual/site12/fst/var/www/html/Crea