Closed

Insert multiple rows using form and PHP and (PDO with Prepared Statements)

Insert multiple rows using form and PHP and (PDO with Prepared Statements)

My code in attachments Please I want to fix it to Insert multiple rows using form and PHP and (PDO with Prepared Statements)

The source of my code below

[login to view URL]

(Very Important)

Please I don't want complicated way of coding to fix my code

I just want to very simple and secure way like example below becuase the example below didn't worked with me

$rows = array($firstname, $lastname, $email);

$stmt = $conn->prepare("INSERT INTO memo(firstname, lastname, email)

VALUES (:firstname, :lastname, :email)");

foreach($rows as $key => $value){

$stmt->bindParam($key, $value);

}

$stmt -> execute();

Please note: My code is Prepared statements and When you fix it please keep my code as it is Prepared statements to be useful against SQL injections

MySQL code below

CREATE TABLE `memo` (

`id` bigint(20) NOT NULL AUTO_INCREMENT,

`firstname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',

`lastname` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',

`email` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',

PRIMARY KEY (`id`)

) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

I'll pay only $10, if you are interested please contact me inside freelancer

Skills: ASP, MySQL, PHP, Software Architecture, SQL

See more: multiple file upload using ajax php java, update multiple rows php mysql array, using javascript php form validation, php, mysql, sql, software architecture, asp, css htm php, registration form validation using javascript php mysql, send multiple rows php, registration form php insert database, expense form php javascript add rows, php update multiple rows without globals, upload multiple files using php java script, data insert form php, calculating orders using form php, mysql update multiple rows using array, insert modify remove data form php mysql, insert certain cell excel form mysql using php

About the Employer:
( 4 reviews ) Oslo, Norway

Project ID: #17553202

18 freelancers are bidding on average $16 for this job

mahamadali

I am experienced php developer and web designer with the depth knowledge related to MySQL,Laravel,WordPress,MSSQL,JSON,JAVASCRIPT,AJAX,XML,jQuery,CSS,HTML5,Material Designing with the integration of web technologies. More

$10 USD in 1 day
(205 Reviews)
6.8
hamidejaz024

Hello Hope you are good. Sir i'm sure i can fix it and i can start work right now. Let's discuss over chat. Thanks

$10 USD in 1 day
(95 Reviews)
6.0
nrtechweb

Hi greetings for the day! I am a senior php and WordPress developer and i have 7 years of experience in web development. I am a individual developer and i am not a company and doing freelancing individually. I hav More

$20 USD in 1 day
(81 Reviews)
5.7
satyajeetkeshari

I am expert in web development using PHP and MySQL, I can do the specified task as per your instructions.

$12 USD in 1 day
(61 Reviews)
4.9
$25 USD in 1 day
(20 Reviews)
4.6
ankitbagre2000

Hello Sir, Have a Nice Day I have read your requirements. I am working from 10+ years in PHP based programming. My aims are I give better quality work and time-based completion for our clients with client satis More

$25 USD in 1 day
(16 Reviews)
4.3
$25 USD in 1 day
(10 Reviews)
4.5
$10 USD in 0 days
(41 Reviews)
4.4
nigamkumar09

Hello, I have experience and skills to complete this jobs, I am the suitable person for this task, I have read your description. I can do this task. Please open your chat box for more discussion.

$25 USD in 1 day
(32 Reviews)
4.1
webinvoidia

Dear Hiring Manager/Hello I’ve carefully gone through your job posting. I ’m an expert with more than 4 years experiences of both web development front-end developer. I am very much interested in your project with al More

$15 USD in 1 day
(21 Reviews)
4.0
ouarkaayoub

Hey, I am interested in your project, please send me a message so that we can discuss more details, contact me asap; thanks

$10 USD in 1 day
(15 Reviews)
3.7
mehulpkava

Hello Sir, I can Fix Your Problem Hire Me Than I ll Give You That. With Multiple Wats Your Requirment. Give Me Some Idea Than Fix With Multiple. thankyou

$10 USD in 1 day
(1 Review)
0.8
$30 USD in 2 days
(2 Reviews)
0.6
petersimmons

Hello, I looked into your code and I can fix it for you very quickly. I work with PHP and Database everyday.

$20 USD in 1 day
(1 Review)
0.7
uzairsaleem309

Hello [login to view URL], I read your job description and can help you insert rows using PDO class of PHP. I have done similar work on my own project as well and I have examined your code and can fix this problem in approxim More

$10 USD in 1 day
(1 Review)
0.0
rehkzylbzr

Hi! I have experience creating complex php projects, including work with various API and MySQL as a database - live examples are in my portfolio. I will glad to help you with you task. With best regards, Aleksej

$10 USD in 1 day
(0 Reviews)
0.0
lobeejack

Hi, I had seen your [login to view URL] file and Yes, I am interested in this project. $10 is okay, So, let me do this job for you...

$10 USD in 0 days
(1 Review)
0.0
$10 USD in 2 days
(0 Reviews)
0.0