fix php function see description

This project has been awarded to grameenmelanet for $30 USD.

Get free quotes for a project like this
Employer working
Awarded to:
Skills Required
Project Budget
$10 - $30 USD
Total Bids
Project Description

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

Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online