Jump to content

Archived

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

moc

PHP 7 and mydbase.php!

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.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
Share on other sites

12 years ago had it on oscommerce 2.x includes classes folder! I use it 12 years but now a have newproject and i need a dbase apy but the old oscommerce work only php 5.3

Share this post


Link to post
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.

Need Help? See this thread and provide the information requested.

How to Upgrade to the latest version

Recommended SEO Addons

Share this post


Link to post
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??

 

 

Share this post


Link to post
Share on other sites

×