moc Posted February 24, 2021 Share Posted February 24, 2021 Hi, Sombody have a correct mydbase.php version to php 7.5? Best Regards: Bela Turak Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 24, 2021 Share Posted February 24, 2021 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. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
moc Posted February 25, 2021 Author Share Posted February 25, 2021 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 Link to comment Share on other sites More sharing options...
Jack_mcs Posted February 25, 2021 Share Posted February 25, 2021 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. Get the latest versions of my addons Recommended SEO Addons Link to comment Share on other sites More sharing options...
moc Posted February 25, 2021 Author Share Posted February 25, 2021 Thank you! Link to comment Share on other sites More sharing options...
moc Posted February 26, 2021 Author Share Posted February 26, 2021 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.