Posted by steeve_dun on 11/07/07 13:03
Hi,
What I want is to check for empty values for field 2 and put a result
a function instead.
eg :
function func1($val){
return $val.'bis';
}
$query = "UPDATE vals SET val2 = '".func1(`val1`)."' WHERE `val2` IS
NULL";
but the problem is that I can't recover val1 in func1
So, is there a way to do so?
Thanks
Navigation:
[Reply to this message]
|