what am i doing wrong...
mysql_query("UPDATE root_dates SET status='old' WHERE index='$no'")
i;m getting this error
testingError: 1064; error description: You have an error in your SQL syntax near 'index='6'' at line 1
index is not a good choice as name for a column, rename it.
Look up alter table in the documentation.
if index is an int you don't need the 's
index='6' will break if it's and int field, you need index=6
If it's not an int field let me know, I'll keep looking at it for you.
-Cy