fix php function see description

  • Status Closed
  • Budget $10 - $30 USD
  • Total Bids 5

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

Get free quotes for a project like this
Awarded to:
Skills Required

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