[PHP] Re: User error handler must not modify error context (solved)

2005-09-20 Thread Noel
Why not top-post? It's much faster to read so I won't have to scroll down to read the message. Michael Sims already solved my problem. But thanks for the help and to Robert also. :) Jasper Bryant-Greene... Please don't top-post. Sorry, I assumed that code was part of your error_handler. Can

Re: [PHP] Re: User error handler must not modify error context

2005-09-19 Thread Robert Cummings
On Mon, 2005-09-19 at 23:09, Jasper Bryant-Greene wrote: > Noel wrote: > > Actually, that's all of it aside from the function statement and the > > return statement. > > > > function funcTitle ($title='') { > > global $mywebsite; > > if ($_POST['title']) $title = $_POST['title'];

Re: [PHP] Re: User error handler must not modify error context

2005-09-19 Thread Jasper Bryant-Greene
Noel wrote: Actually, that's all of it aside from the function statement and the return statement. function funcTitle ($title='') { global $mywebsite; if ($_POST['title']) $title = $_POST['title']; elseif ($_GET['title']) $title = $_GET['title']; elseif (!$title)

[PHP] Re: User error handler must not modify error context

2005-09-19 Thread Noel
Actually, that's all of it aside from the function statement and the return statement. function funcTitle ($title='') { global $mywebsite; if ($_POST['title']) $title = $_POST['title']; elseif ($_GET['title']) $title = $_GET['title']; elseif (!$title) $title = $my