@SrWebDeveloperJan 25.2010 — #mysql_query("UPDATE registerusers SET paid = 'Y', ammount = '"$resArray['AMT']"', datepaid = 'CURDATE()' WHERE id = '"$_SESSION[kt_login_id]"'");[/quote]
Could be:
[code=html]mysql_query("UPDATE registerusers SET paid = 'Y', ammount = '{$resArray['AMT']}', datepaid = 'CURDATE()' WHERE id = '$_SESSION[kt_login_id]'"); [/code]
You had double quotes surrounding the two associative arrays which is not necessary. I left the single quotes around each. I wrapped the first associative array with { and } because the key name is single quoted because in PHP that's how you embed associative arrays [I]with quoted key names[/I] in strings. I didn't bother to do that for the second associative array key name wasn't quoted. For each you could also have terminated the string with a double quote then used a period and the associative array then another period and a double quote as well, either way works.