[PHP] Re: Oh, for a sureset() (orthogonal to isset())

2003-10-30 Thread Al
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

[PHP] Re: Oh why won't it work

2003-10-27 Thread Reidar Solberg
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

[PHP] RE: oh no

2002-03-30 Thread caspar kennerdale
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