When adding a record, I have phprunner fire an event before it posts a new record and in that I need to generate a text or string of 100 random charecters in length
I have looked around and came up with
$str = 'webadd';
while strlen($str) < 100
{
$str = $str . rand();
}
PHP runner creates a section that looks like
function BeforeAdd(&$values,&$message,$inline)
{
} // function BeforeAdd
and I have added my code between the {}
but it seems to fail. Would someone help me a bit please?