Re: [PHP] problems with self referential sticky forms

2005-07-20 Thread Mark Rees
eoghan [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On 20 Jul 2005, at 02:22, Linda H wrote: fahreheit is here: ? $fahr = $_GET['fahrenheit']; if (is_null($fahr)){ echo 'fahr is null';} $ The error was on the line: $fahr = $_GET['fahrenheit']; try: input

[PHP] problems with self referential sticky forms

2005-07-19 Thread Linda H
Hi, I'm trying to code a form that will call itself. The first time it is called (by a link), it should display the empty form. If it was called by a submit to itself, it will validate and then process or re-display the form if it didn't pass validation. In Programing PHP I found a

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread eoghan
On 20 Jul 2005, at 02:01, Linda H wrote: But when execute the code above I get an error: Notice: Undefined index: fahrenheit in C:\Program Files\Apache Group\Apache2\htdocs \. Where is fahrenheit? change the input name... Eoghan -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread Linda H
Where is fahrenheit? change the input name... fahreheit is here: ? $fahr = $_GET['fahrenheit']; if (is_null($fahr)){ echo 'fahr is null';} $ The error was on the line: $fahr = $_GET['fahrenheit']; Linda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread Linda H
Where is fahrenheit? change the input name... fahreheit is here: ? $fahr = $_GET['fahrenheit']; if (is_null($fahr)){ echo 'fahr is null';} $ The error was on the line: $fahr = $_GET['fahrenheit']; Linda -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread Mikey
Linda H wrote: Where is fahrenheit? change the input name... fahreheit is here: ? $fahr = $_GET['fahrenheit']; if (is_null($fahr)){ echo 'fahr is null';} $ The error was on the line: $fahr = $_GET['fahrenheit']; Linda Have you checked that the name is spelt correctly in your HTML

Re: [PHP] problems with self referential sticky forms

2005-07-19 Thread eoghan
On 20 Jul 2005, at 02:22, Linda H wrote: fahreheit is here: ? $fahr = $_GET['fahrenheit']; if (is_null($fahr)){ echo 'fahr is null';} $ The error was on the line: $fahr = $_GET['fahrenheit']; try: input name=fahrenheit type=text value=?php echo $fahr; ? / -- PHP General Mailing List