Undefined error notice
| From: | Abhilash Sahoo | Date: | Thu, 18 Feb 2016 15:23:22 +0000 |
| Subject: | Undefined error notice | ||
| References: | 1 2 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-24568@lists.php.net to get a copy of this message | ||
Please help me
The php script is below
<?php
function rand_string( $length ) {
$chars = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";
$size = strlen( $chars );
for( $i = 0; $i < $length; $i++ ) {
$str .= $chars[ rand( 0, $size - 1 ) ];
}
return $str;
}
$tablename=rand_string( 8 );
?>
And the error attached as image
Attachment: [image/png] Capturem.PNG
Attachment: [image/png] Capturem.PNG