sheepiedog Posted June 2, 2015 Share Posted June 2, 2015 I am working on a 234bs test store to replace my old ms2.2 store. I am trying to convert some old addons that I cant live without and I have been successful for the most part but I have run into an issue I am not sure how to correctly solve it. Running php 5.3 and mysql 5.5 Add on Update Price with search - http://addons.oscommerce.com/info/1204- absolutely love this addon and use it all the time. I know there are other similarish add ons - but this one does by search and is so simple and I would like to stay with this one. When I tried to convert it to 2.3.4 admin and run it - I receive this error : Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/sales/public_html/234bs/admin/price_update.php on line 26 This is line 26 : $sql3 = mysqli_query("SELECT categories_id, categories_name FROM categories_description ORDER BY categories_name"); I changed the original mysql to mysqli - but it looks like I also need to reformat the line into 2 sections and I am not sure how to go about that..... Would someone would be able to tell me how to solve this ? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.