Smart Freelancers

Online Freelance Projects


Make My Php/mysql Update Work Nov 21, 2008

This should be easy.. Please be available on yahoo messenger. thanks
Here is part of my code…

code above omitted..

echo $hits; <<- I have this value, I got i from the database
echo $domain; <<- I have this one to..

// I want to insert $hits into another table in the same database.

$query = “UPDATE sites SET in = ‘$hits’ WHERE site = ‘$domain’”;

mysql_query($query) or die (”Query failed: ” . mysql_error() . ” Actual query: ” . $query);

Im getting an error query failed..

Place bid

Email This Project Email This Project

Get daily jobs to your email address,
Subscribe to Online Freelance Projects Feeds NOW!




  • Get paid online - join scriptlance

  • Get Custom Work Done for Your Website!

  • Cheap & reliable webhosting. Only $4.95 per month!
  • Your Ads Here