Find Jobs
Hire Freelancers

Fix a MYSQL insert issue with ' character causing an error

$10-30 USD

Completed
Posted over 9 years ago

$10-30 USD

Paid on delivery
I have a update insert form, if there is odd characters like ' or , then the page will cause an error and not save clicking submit I need some one to fix the form and tell me what code had to be changed to fix the form as I need to fix other forms in the same site. see attached file, job is done when I can save the page with odd characters, simply edit the attached and send back to me
Project ID: 6693139

About the project

44 proposals
Remote project
Active 9 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
HELLO THERE, Over 190+ Positive Reviews. Over 90% Completion Rate. 5 Star Rating. 8+ Years of experience in PHP/MYSQL I AM INTERESTED IN WORKING ON THIS PROJECT. PLEASE CHECK MY REVIEWS AND THEN DECIDE ON ME. LOOKING FOR A LONG TERM RELATIONSHIP. -------------- THANKS, AJIT
$25 USD in 1 day
4.9 (286 reviews)
6.8
6.8
44 freelancers are bidding on average $22 USD for this job
User Avatar
Greetings Ready to fix the problem and avaible for you !! Thanks
$12 USD in 1 day
4.9 (835 reviews)
9.2
9.2
User Avatar
Hello We have already done the fix. I can attach once you award the project. If by chance it does not work on your server, we will propose another solution. This depends on the version of the softwares on your server and what it supports. So once you test and confirm that the proposed solution works fine, we will tell you the change we made so that you can replicate in other forms.
$24 USD in 1 day
4.9 (982 reviews)
9.1
9.1
User Avatar
Hello! With 99% completion rate, 720 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u/rajeshsonisl.html !!)... you can never go wrong choosing me :) I look forward to your reply. Thanks. Kind Regards, Rajesh Soni
$14 USD in 1 day
4.9 (1059 reviews)
8.9
8.9
User Avatar
Hello, I have 5+year experience in php and its framework like joomla, Wordpress, etc. I can solve this error with in 20 minute and give you the good update. I already work with you one time in joomla project. Can we start the project?
$15 USD in 1 day
5.0 (325 reviews)
8.1
8.1
User Avatar
----------------------------------------------------------Please Consider on My BID---------------------------------------------------Dear Sir/Madam, We are already read your project description & fully understand this project for you. Also I have solid experienced professional in-house team of designers, developers and coders. We are offering best price in this market & providing best quality of work for you. Please check your PMB for more details & award me for this project. ~~~~~~~~~~~~~~~~~Few reasons to select us as a service provide~~~~1. Post delivery free bug fixing support.------- 2. Industry standard modern design.------- 3. Secure coding SQL injection and XSS (cross site scripting),------- 4. Well documented code.------- 5. Regular work update. ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ Thanks with Regards
$25 USD in 0 day
5.0 (517 reviews)
8.2
8.2
User Avatar
Can do it right now ! I have understood what is required. Looking forward working with you. Regards, Abhi
$30 USD in 1 day
5.0 (192 reviews)
7.5
7.5
User Avatar
i am a skilled developer, i can fix the issue for you. i am a skilled developer, i can fix the issue for you. i am a skilled developer, i can fix the issue for you.
$30 USD in 1 day
5.0 (467 reviews)
7.4
7.4
User Avatar
Ready for the job sir, can fix it and available to work on it right now, give me a try I will not let you down, thanks alot.
$20 USD in 1 day
5.0 (245 reviews)
7.2
7.2
User Avatar
hi, i can fix now for you.. already we made more works together. choose me and we can provide fixed file
$20 USD in 0 day
4.9 (458 reviews)
7.2
7.2
User Avatar
Hello, We need to convert all special characters into other characters which doesn't cause any issue. Please message and award, I will do that in half an hour and give it back to you. Best Regards, Murtaza F.
$31 USD in 1 day
4.6 (69 reviews)
7.2
7.2
User Avatar
Hi there, I can help, just need your response to continue, please check feedback from my previous employers if you doubt about my performance.
$30 USD in 0 day
5.0 (45 reviews)
6.2
6.2
User Avatar
hello i have reviewed your code and i have found that you need to escape the special charterers i can fix this for you.
$34 USD in 1 day
5.0 (73 reviews)
6.2
6.2
User Avatar
Hi, I'm ready to help you with this task. I have more than 8 years of experience with PHP, so it's going to be done on the highest level. Please consider my profile for experience and previous projects: https://www.freelancer.com/u/tsarevilya.html
$45 USD in 1 day
5.0 (12 reviews)
6.0
6.0
User Avatar
Hello! As far as the quote characters are concerned, I've fixed that already. Now regarding the comma - are you sure that a comma alone brakes the query, because I don't see that from the code? Kind Regards, Dobri PS: Upon testing locally no punctuational characters break the insert/update queries, after the fix.
$15 USD in 0 day
4.9 (177 reviews)
6.2
6.2
User Avatar
Hi it is simple you can replace the ' character with the ` (in left of key 1) and it will looks like ' in your UI else you can change it in front end. :) happy coding. I did the same when this error occurred in my application. Thanks Arpit
$25 USD in 1 day
5.0 (37 reviews)
5.7
5.7
User Avatar
Hi, I modified file, write me, so I can send you modified file I can not find to file to send, I think file sending will be avaialble once you respond me you can use mysql_real_escape_string() function to fix the ' quotation problems Regards Nurba
$15 USD in 0 day
5.0 (44 reviews)
5.7
5.7
User Avatar
Sir, please open a chat so that I can send you the updated file. If it do not work, then there is other ways but that will hamper the security. Thanks and Regards, BUlbu.
$10 USD in 1 day
5.0 (62 reviews)
5.2
5.2
User Avatar
i will fix it right now so you can add any character thanks i will fix it right now so you can add any character thanks
$20 USD in 1 day
5.0 (56 reviews)
5.4
5.4
User Avatar
Hi, I can fix it for your and sent it back to you.. pls select the bid and create a milestone for it. Thanks Dhirendra
$25 USD in 1 day
4.9 (40 reviews)
5.1
5.1
User Avatar
You need escape all unescaped strings before put it into query. Sample $tmpSql = "INSERT INTO tbl_public_menu(parent_menu, menu_title, page_title ,content)" . " VALUES('" . $this->public_menu["parent_menu"] . "'" . ",'" . $this->public_menu["menu_title"] . "'" . ",'" . $this->public_menu["page_title"] . "'" . ",'" . $this->public_menu["content"] . "'" . ")"; Should be replaced with $tmpSql = "INSERT INTO tbl_public_menu(parent_menu, menu_title, page_title ,content)" . " VALUES('" . $this->public_menu["parent_menu"] . "'" . ",'" . mysql_real_escape_string($this->public_menu["menu_title"]) . "'" . ",'" . mysql_real_escape_string($this->public_menu["page_title"]). "'" . ",'" . mysql_real_escape_string($this->public_menu["content"]) . "'" . ")"; You need to apply same changes to all insert and update queries ( when corresponded strings aren't already escaped). King Regards, Alex
$10 USD in 0 day
5.0 (22 reviews)
4.7
4.7

About the client

Flag of AUSTRALIA
Newport, Australia
5.0
443
Payment method verified
Member since Oct 18, 2006

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.