fix php function see description

Awarded

I need this to work, its already in system but it wont affect the code as it should. Should be a easy fix and would like to have it done right now.

if(isset($_POST['change'])) {

$result1 = mysql_query("UPDATE hosted SET code=replace(code, '$_POST[currentwidth]', '$_POST[replacewidth]')", $db1);

$result2 = mysql_query("UPDATE hosted SET code=replace(code, '$_POST[currentheight]', '$_POST[replaceheight]')", $db1);

$num = mysql_affected_rows();

$message = "$num codes have been affected!";

}

thank you

Skills: PHP

See more: php function , fix php, easy fix, fix function php, need fix php, php fix rss description, fix links require function php, php fix xss function, php change meta description automatic php pages, set function, php code f, easy php fix, php fix sql xss function, fix php code, item description webit php script, php pop message, php mail message dynamic order details, php mail message order details

Project ID: #5173478

5 freelancers are bidding on average $21 for this job

grameenmelanet

Hello there, I am sure you are looking for expert and professional developer working in your project. I can call myself an expert developer with 5 years experience who has successfully completed more than 300+ proj More

$30 USD in 0 days
(132 Reviews)
6.6
froiden07

A proposal has not yet been provided

$18 USD in 1 day
(126 Reviews)
6.2
sriraj1233

Dear traduct4good, I have four and half years of professional experience in designing, developing scripts and integrating scripts in php and mysql. I have gone through your description. I am ready to start right now. More

$24 USD in 1 day
(76 Reviews)
5.5
rukeysolutions

Hi, This is an easy fix. I can do it right now, let me know of your inputs. Thank You!...............

$10 USD in 1 day
(30 Reviews)
4.3
larrypaul93

A proposal has not yet been provided

$25 USD in 0 days
(9 Reviews)
3.7