[PHP] cookie working only 90% array missing one var and sql query burns [YIKES!]

2001-04-01 Thread PHPretard
hi peoples, Im going insane here, I have this script working great except two things ... for one , the sql query returns an error that couldnt run the query... and the second is that the variable $user_reg[2] holds nothing even though I cheked the html form and also checked the cookie variable an

Re: [PHP] cookie working only 90% array missing one var and sql query burns [YIKES!]

2001-04-05 Thread Plutarck
Correct line: > setcookie ("user_reg[1]" , "$pass_w", $lifetime, "/", ".mydotcom.com"); Now look at this line: > setcookie ("user_reg[2]" , "$full_name", $lifetime, ".mydotcom.com"); Don't you just hate it when you forget a "/"? ;) -- Plutarck Should be working on something... ...bu