Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PHP 7 and mydbase.php!


moc

Recommended Posts

The mydbase.php is not part of any stock oscommerce shop so if you have such a file, you will need to contact whoever added it. Php 7.5 doesn't exist.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Trying to update your version would be a waste of effort. You should download and install the community version.. Search the forums for how to convert your database to work with it.

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Hello,

 

How changed this method under the years?

How can I do a query and get  datas?

Former:

    $query = tep_db_query("SELECT * FROM dbase_deliveries WHERE dbase_delivery_id='" . (int)$id . "'");
    while ($data = tep_db_fetch_array($query)) {
      $suppart_id = $data['dbase_delivery_id'];
      $suppart_name = $data['delivery_name'];
      $suppart_contact = $data['delivery_contact'];
      $suppart_tel = $data['delivery_tel'];
      $suppart_fax = $data['delivery_fax'];
      $suppart_email = $data['delivery_email'];
      $suppart_post_code = $data['delivery_post_code'];
      $suppart_city = $data['delivery_city'];
      $suppart_adress = $data['delivery_adress'];
      $suppart_tax_num = $data['delivery_tax_num'];
      $suppart_eu_tax_num = $data['delivery_eu_tax_num'];
      $suppart_reg_num = $data['delivery_reg_num'];
      $suppart_bank_num = $data['delivery_bank_num'];
      $suppart_other = $data['delivery_other'];
    }

 

And how to return the suppart_id??

 

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...