Using $result->data_seek(0);
$row = $result->fetch_row();
php code starts ---

Warning: mysqli::mysqli() [mysqli.mysqli]: php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\Hosting\2555222\html\BareBone_Oracle\m9w8\mysql_related\mysql_stored_function\create_func_ctof\create_func_ctof_c.php on line 8

Warning: mysqli::mysqli() [mysqli.mysqli]: [2002] php_network_getaddresses: getaddrinfo failed: No such host is kn (trying to connect via tcp://Manas9:3306) in D:\Hosting\2555222\html\BareBone_Oracle\m9w8\mysql_related\mysql_stored_function\create_func_ctof\create_func_ctof_c.php on line 8

Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): php_network_getaddresses: getaddrinfo failed: No such host is known. in D:\Hosting\2555222\html\BareBone_Oracle\m9w8\mysql_related\mysql_stored_function\create_func_ctof\create_func_ctof_c.php on line 8
Connect failed: php_network_getaddresses: getaddrinfo failed: No such host is known.