Re: [PHP] Forms not passing variables

2002-07-10 Thread jepadilla
I am sure this is the n00b thing think, but you do have it as $_POST["var"] for the variables right, assuming you had the other style before. also I had problems without POST being capitalized in the form section. J "Hopp3r" <[EMAIL PROTECTED]> 07/10/2002 12:23 PM To: [EMA

Re: [PHP] sessions

2002-07-10 Thread jepadilla
After redoing my entire site because of session let me give ya some help. $_SESSION["test_var"] = "froggy"; then on page two session_start(); print $_SESSION["test_var"]."!"; a few tips I have run into SESSION needs to be all caps, otherwise php gets cranky. I am fairly sure in forms you nee

Re: [PHP] if syntax

2002-07-10 Thread jepadilla
This will only work if you have a single line of code after the else and if. At least that is my understanding of all languages :) J "Alexander Ross" <[EMAIL PROTECTED]> 07/10/2002 08:25 AM To: [EMAIL PROTECTED] cc: Subject:[PHP] if syntax I know t

Re: [PHP] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))

2002-07-09 Thread jepadilla
For what? His own stupidity of not reading the footers where it says "To unsubscribe, visit: http://www.php.net/unsub.php"; J "Daniel Negron/KBE" <[EMAIL PROTECTED]> 07/09/2002 01:28 PM To: "Erik Hegreberg" <[EMAIL PROTECTED]>, [EMAIL PROTECTED] cc: Subject:

Re: [PHP] UNSETing Session Variables

2002-07-08 Thread jepadilla
/me feels kinda dumb now. Well even after adding session_start to my connect.inc, it doesn't work. I only need to do session_register() once correct? Or do I need to do that everytime I do session start? If I have to do it everytime then what is the point of sessions? Jed "Kevin Stone

Re: [PHP] UNSETing Session Variables

2002-07-08 Thread jepadilla
Sorry about that I should have been more detailed. session_start() and all of my session_register() calls happen on login.php here is a sample session_register call. session_register("currentbid"); I am under the impression that I only need one session register call. Jed "Kevin Stone" <[EM

Re: [PHP] UNSETing Session Variables

2002-07-08 Thread jepadilla
I more or less figured that. below is the code for the two pages in question. Page 1: Borrowers "; echo "Name"; echo ""; echo ""; echo "Phone"; echo ""; echo ""; echo "Address"; echo ""; echo ""; echo "Admin"; echo ""; echo ""; if($users) while($row=mysql_fetch_ro

Re: [PHP] UNSETing Session Variables

2002-07-08 Thread jepadilla
I tried to enter the comand as such unset ($_SESSION["choice"]); I thought everything in php was double quotes. but even with single quotes it still isn't quite working. If I do it on the first page then it won't let a later command assign anything to the variable, but if I do it on a seper

[PHP] UNSETing Session Variables

2002-07-08 Thread jepadilla
I am having a slight problem unseting some session variable. here is an exaple of what I have Page1: choice: 1 choice: 2 choice: 3 choice: 4 Click on Submit button after choosing 1, 2, 3, or 4 Page 2: Loads information from previoius choice. Start over again I am using a session var