mysql database insert query

mysql database insert query

 <?php
set_time_limit(0);
$dbconn = mysql_connect('localhost','username','password');
mysql_select_db('DBname',$dbconn);

$file = 'hospital.sql';

if($fp = file_get_contents($file)) {
  $var_array = explode(';',$fp);
  foreach($var_array as $value) {
    mysql_query($value.';',$dbconn);
  }

?>

Magento 2 all types

 Magento 2 is available in different editions based on business needs. Here are all the types of Magento 2 : 1. Magento Open Source (former...

Popular Posts

Posts