Find Jobs
Hire Freelancers

Help to increment number after php loop

$10-30 AUD

Completed
Posted about 3 years ago

$10-30 AUD

Paid on delivery
I have created a loop to add entries into a database, I want all those entries in the loop to have the same submission_id. Attached is the code I have tried but doesn't work
Project ID: 29935953

About the project

28 proposals
Remote project
Active 3 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
$0 AUD in 1 day
4.9 (481 reviews)
8.2
8.2
28 freelancers are bidding on average $20 AUD for this job
User Avatar
Hello i am expert in mysql i found error what is that create milestone so i start work right now this simple work for me thank you
$25 AUD in 1 day
4.7 (309 reviews)
7.7
7.7
User Avatar
i checked the code...$sub_id++ is in wrong place thats why it is not working. i will write it in correct way.
$30 AUD in 1 day
4.8 (547 reviews)
7.4
7.4
User Avatar
I have a few questions regarding the specifications that you have provided. Could we please have a chat? My Skills: MySQL and PHP
$10 AUD in 14 days
4.7 (167 reviews)
7.1
7.1
User Avatar
Hey There, I am a senior Website deeloper and Experience in PHP. Please come over chat and award my bid. Looking forward to hear from you Thanks Aerozef
$50 AUD in 1 day
5.0 (88 reviews)
6.4
6.4
User Avatar
Hi, I have 5+ years of working experience. I have skills in CorePHP, Laravel, CI, Jquery, Vuejs, Node, Mysql, MongoDB, Payment gateway( Paypal,Stripe, bluepay). I can complete your task if you give me one chance. Thanks
$30 AUD in 7 days
4.8 (15 reviews)
6.5
6.5
User Avatar
Got your requirements i can do that for you message me so we can proceed further Thank you
$25 AUD in 1 day
4.9 (107 reviews)
6.5
6.5
User Avatar
If your different submission id is working, Its mean that your id field in database not accepting duplicate. try just incremental value to db as submission id. if it works and it should work. issue is the duplicate not accepting by id field. Hope it will help
$10 AUD in 1 day
5.0 (120 reviews)
6.2
6.2
User Avatar
I have checked code and found what's issue is. I am ready to let u know. Let me know. Thanks Amit
$10 AUD in 1 day
4.9 (26 reviews)
5.1
5.1
User Avatar
Hi, PHP expert here to help on your loop section. Please initiate me on chat for more detail discuss on the same. Thanks
$25 AUD in 1 day
5.0 (13 reviews)
4.2
4.2
User Avatar
I can help you fix that variable post-increment in PHP right now, send me a message if you want the solution right away.
$15 AUD in 1 day
4.8 (14 reviews)
4.0
4.0
User Avatar
I will do this for free Bro. I have checked your code, it took me 1 minutes to solve your issue. Send me message and i will solve it immediately. Thanks & Regards THis is your solution : $sub_id =0; global $wpdb; foreach ( $raw_fields as $id => $field ) { $wpdb->insert('wifi_quotes', array( 'form_id' => $form_name, 'field_id' => $id, 'value' => $fields[$id],'submission_id'=>$sub_id)); $sub_id ++; }
$10 AUD in 1 day
5.0 (4 reviews)
3.4
3.4
User Avatar
Hi, dear. How are you? I am really interested in your work . I have checked your TXt and then I noticed that I am qualified to work on your project. Because I have rich experience with PHP Development. Please contact me for further discussion. Thank you.
$30 AUD in 2 days
5.0 (4 reviews)
2.5
2.5
User Avatar
♥ Hi dear ♥ I read the detail of your project. If you are reading this bid, then you are definitely looking for a developer related to Web design and development. I have good news: you’ve come to the right place! You are lucky people I am quickly and proficiency I know how to build clean components with a strongly typed code. If you are interested in me, please let me know it. I am always available here, more than 40hrs/week. I will do my best in order to realize your ideas into reality. Please contact me, I hope to discuss this job in more detail. I am best match for this requirement as I have very strong experience with with WORDPRESS, LARAVEL, , BOOTSTRAP, PHP, JAVASCRIPT, HTML/HTML5,WordPress CSS/CSS3, GRAPHICS DESIGNING TOOLS,MySQL, Jquery, Ajax,SEO, Internet Digital Marketing ( SMM,SME,SMO,On Page, Off page, Social PPC, Google PPC). I look forward to hearing from you. I assure you that I will perfectly meet your requirements using my skills and expertise and serve you with the best unique and attractive website as per your expectations. Thanks for your consideration. Regards, shivam
$20 AUD in 2 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello Sir, I would help to do increment for insertion of your database. I would like if you accept my proposal. Thanks
$10 AUD in 7 days
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello! I can help you in a short time. I have a computer science degree and added lectures on the topic of databases for university students. I also worked on some projects as a backend developer. Feel free to contact me! :)
$15 AUD in 1 day
0.0 (0 reviews)
0.0
0.0
User Avatar
Hello Sir, I am interested in your work . I have checked your text and I can complete your project. I have good experience with PHP and mysql Development. Please contact me for further discussion. Thank you.
$10 AUD in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of AUSTRALIA
Rockdale, Australia
4.9
67
Payment method verified
Member since Mar 1, 2012

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.