function sureset($var) {
if(!isset($var) || empty($var))
return '';
else
return $var;
}
Of course, when you've got strict checking on, the above doesn't
work, because if the variable is unset you get caught on the fact
before the function call happens.
One change will make your code
Without going too deep into your code, I think I see (parts of) your
problem.
In a nearly similar case, I used this code to deal with the problem.
// This example is putting the data from a table into a 2-dimentional
array:
// When using mysql_data_seek() you have all the selections from
and what of it
-Original Message-
From: Vincent Kruger [mailto:[EMAIL PROTECTED]]
Sent: 30 March 2002 14:08
To: caspar kennerdale
Subject: oh no
you a fucking pommy.
god dam
3 matches
Mail list logo