Write some Software

This is for help with an existing PHP script that saves data into a MySQL database. This should be a simple, 5-10 minute project if you know PHP and MySQL well. This needs to be completed right away.

Currently the script has a string that has a find and replace function that replaces "-" with "_". I would like to remove this and allow "-". When I attempt to make these changes I am unsuccessful. Instead, "-" gets removed entirely. I think this is an issue with having "-" in the MySQL database. I have tried to backtick ( ` ) the "-" but it does not work.

Here is the line of code I am attempting to modify:

$path = str_replace("-","_",$path);

I would like it to be:

$path = str_replace("-","-",$path);

I have also tried to remove this line of code from the script, but that does not work either.

Kemahiran: MySQL, PHP

Lihat lagi: software write edid, free software write company profile, software write websites idea, php, mysql, software development, embedded software, software write book images, software write books, software write protection, free software write book, software write book, software write protect software, software write technical manual

Tentang Majikan:
( 28 ulasan ) Chicago, United States

ID Projek: #9896032

Dianugerahkan kepada:


try $string_array=explode('-',$string); $newString=implode($string_array,'-'); then try saving $newString to db, and tell me what happens then

$25 USD dalam sehari
(110 Ulasan)

18 pekerja bebas membida secara purata $18 untuk pekerjaan ini


Hello Sir., I am ready to start it.i am highly interested in your project But i have some questions for you. So kindly leave message for me, then i'll discuss it in depth.

$14 USD dalam 0 hari
(228 Ulasan)

Hello There, Hope you are doing well !! we have gone through your requirements. Lets discuss more over Chat box, So i can define the best suitable time frame to get it finished at the earliest. Waiting for your pre Lagi

$25 USD dalam sehari
(115 Ulasan)

Hi! I have 7+ years of web developing experience, I can promise quality and responsibility. We can start immediately.

$15 USD dalam sehari
(69 Ulasan)

Hi, My name is Shahid, i am working in web development from past four years. Will provide you quality work and hopefully we will have long term relationship in web development. Let me know if i can help you. let's dis Lagi

$17 USD dalam 0 hari
(283 Ulasan)

message me before awarding this project to me message me before awarding this project to me message me before awarding this project to me message me before awarding this project to me message me before awarding thi Lagi

$10 USD dalam sehari
(249 Ulasan)

hi, i am expert php developer. I can solve any type of php issue. I can do this job easily. I can integrate str_replace function easily.

$10 USD dalam sehari
(111 Ulasan)

Hi, I am 5 years experienced web developer expert in PHP/MySql. I understand your point. I can complete this project now. Please check my profile for my work quality . Thanks, Bhaskar Mandal

$25 USD dalam 0 hari
(77 Ulasan)
$20 USD dalam sehari
(51 Ulasan)

I am dedicated developer who believe in providing quality work within time frame. I will serve you in following PHP, Jquery, Javascript, Ajax, HTML,CSS, Joomla, Cakephp, Worpress, PSD to Responsive HTML5. I am looking Lagi

$15 USD dalam sehari
(66 Ulasan)

Hi I read the project details and could do this work really very fast. I have 6+ years of experience with java, jsp,php, mysql, wordpress and javascript.. And prices are negotiable... Just message me and we can talk : Lagi

$18 USD dalam sehari
(23 Ulasan)

Hi, I CAN DO IT AS I HAVE DONE SIMILAR WORK BEFORE SO I HAVE CONFIDENCE TO COMPLETE THIS JOB WITH PERFECTION. i am an certified and experienced web developer with 8 year of experience. I already have done t Lagi

$24 USD dalam sehari
(8 Ulasan)

This is simple task which I can do simple now. I have dealt with such kind of problems before so I know how to handle it . Thanks

$10 USD dalam sehari
(5 Ulasan)
$30 USD dalam sehari
(7 Ulasan)

Hello Myself Pankaj Rajpurohit. I have a 5 Years of experience in Website Developing and also Designing. My major expertise is in Wordpress,Magento. Moreover i had also worked in Framework like YII. If selected f Lagi

$20 USD dalam sehari
(4 Ulasan)

Good morning Sir, I would be happy to help you, but I am afraid I didn't really understand your need. Could it be possible to have more info ? If I am right, you have a string in your db with "-" inside, that is a Lagi

$10 USD dalam 10 hari
(1 Ulasan)

A proposal has not yet been provided

$15 USD dalam sehari
(0 Ulasan)

If you required a website then please contact me.I will send you a detail about my skill.I will build a website for you about your requirements.

$25 USD dalam sehari
(0 Ulasan)