Convert mysqli methods to use $wpdb methods. -- 2
$150-500 USD
货到付款
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
项目ID: #14470149
关于项目
授予:
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 更多
有29名威客正在参与此工作的竞标,均价$394/小时
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!
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 更多
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. 更多
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, 更多
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 更多
I have long years of experience developing with WordPress Relevant Skills and Experience PHP, WordPress, MySQL, WPDP Proposed Milestones $150 USD - Completion
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
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 更多
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 更多
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 更多
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.