Convert mysqli methods to use $wpdb methods. -- 2

已完成 已发布的 6 年前 货到付款
已完成 货到付款

DO NOT BID WITHOUT WORDPRESS $WPDB EXPERIENCE!

I have 28 DAO class files written in PHP that use mysqli calls. There are deployed as part of a WordPress plugin.

I need these converted to use $wpdb api calls instead.

There are about 5 methods in each class file, most small.

Example Before:

$sql = sprintf( 'SELECT wp_page_id FROM '

. $wpdb->prefix . $tablename

. ' WHERE id = %d', $id);

$result = mysqli_query($connection, $sql);

$rows = mysqli_fetch_array($result);

return $rows[0];

Example After:

global $wpdb;

$sql = 'SELECT wp_page_id FROM '

. $wpdb->prefix . $tablename

. ' WHERE id = %d';

return $wpdb->get_results($wpdb->prepare($sql, 1, $id ));

Attaching sample of one of the more complex methods (only about a dozen this complex, rest as simple get/put methods)).

Please provide sample converted file to be considered.

Providing class for for Query and Executor classes to add clarity - both are no longer desired in new design.

The new design should be flatter - less OOP

MySQL PHP WordPress

项目ID: #14470149

关于项目

29个方案 远程项目 活跃的6 年前

授予:

pbsoftware

Hello Ed, Thanks for considering me to bid on this project. I would love to work on it. Relevant Skills and Experience I have gone through the requirement as well as the attached sample files. We can do this work as 更多

$455 USD 在10天内
(120条评论)
8.3

有29名威客正在参与此工作的竞标,均价$394/小时

sapotacorp

Hello ed4becky!. Im a full stack developer, i can help you do this task fast. i have already charged a reasonable price. Please hire me!Thank you!

$484 USD 在13天内
(1021条评论)
8.7
tlchung

I am a skilled wordpress developer, I can change your mysqli to wpdb usage. let discuss more via private message, thanks. Relevant Skills and Experience I am a skilled wordpress developer, I can change your mysqli to 更多

$444 USD 在10天内
(496条评论)
7.6
Shopify

Hi, I (Myself a senior PHP Developer) have a team having experience of more than 10 years in developing web and mobile applications. I have a team of expert programmers who write robust and bug-free codes at the ve 更多

$515 USD 在15天内
(26条评论)
6.9
prashushinde9

Hello, We have accomplished 90% of the project which is similar of your requirement. All we need 10% customization as per your requirement set and specifications. I want to discuss in personal chat in order to explore 更多

$515 USD 在10天内
(60条评论)
7.1
smartmobile0317

Dear client I have carefully gone through your job description and so I am very interested in your project. "Correct implementation for requirements + Fast Speed + Top Quality + Time". This is my working style. 更多

$361 USD 在10天内
(13条评论)
6.5
VnBestSolutions

Dear Sir. I had read your descriptions about project. Kindly give me a chance, i would like to discuss more about project and sure everything clear. Thank you ! Relevant Skills and Experience Skills: + CMS: Wordpress, 更多

$472 USD 在10天内
(185条评论)
6.8
irfan811

I have four years’ experience in multiple programming languages such as Python, PHP, MySQL, Ajax, Jquery, Symfony, Codeigniter and Wordpress, Shopify, Data Scraping. Relevant Skills and Experience My expertise lay in 更多

$200 USD 在10天内
(107条评论)
6.1
schoudhary1553

Greetings sir, i am an expert freelancer for this job and your 100% satisfaction is assured if you allow me to serve. Here is the reason. Why you should pick me? a) I am a very expert and have the same kind of ex 更多

$361 USD 在3天内
(44条评论)
5.9
loainagati

I have long years of experience developing with WordPress Relevant Skills and Experience PHP, WordPress, MySQL, WPDP Proposed Milestones $150 USD - Completion

$150 USD 在5天内
(26条评论)
6.0
humrobo

got it you basically need Convert my SQL methods to use $WP methods. Relevant Skills and Experience MySQL, PHP, WordPress Proposed Milestones $444 USD - one milestone

$444 USD 在7天内
(30条评论)
5.7
wpmonsters

Hello, We are WordPress Monsters and we're ready to help you! We're trully comfortable working with WordPress website development. We use WP to build thoroughly thought projects either from scratch or by implemen 更多

$500 USD 在5天内
(23条评论)
5.6
RubyOnRail

Hello, I want to show you all relevant Demo and Designs which is similar to your project completed previously. To make sure about the requirement set and customizations, I want to discuss this project with you further 更多

$361 USD 在10天内
(16条评论)
5.9
MagentoNWordpres

In order to convert those mysql queries, one needs to understand GLOBAL $WPDB variable, and I have complete knowledge about that.. bcoz I have dissected wordpress in and out.. Relevant Skills and Experience I first 更多

$355 USD 在10天内
(19条评论)
4.6
pinaliv

5 Reasons why you should hire me for your custom website and Application Development. 1. Available 24/7 upon your request 2. Delivery on-time with 100% satisfaction 3. Always think beyond boundaries and provide user fr 更多

$500 USD 在3天内
(20条评论)
4.8
honeybhai

Dear Hiring Manager, Thank you for this wonderful opportunity. Today Your job posting has caught my attention because I’m keenly considering your job post including these skills. I have excellent experience in Ful 更多

$311 USD 在4天内
(1条评论)
2.6
cezarysiwa

Oh my. Someone has used the regular SQL queries inside the Wordpress? That's a shame! I can fix it and I can fix it fast.

$361 USD 在10天内
(7条评论)
2.6