-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
- 0 replies
- 5 views
-
- 3 answers
- 3,162 views
-
QNAP issues patch for an RCE security vulnerability affecting PHP in NAS Drive management
By Alap Naik Desai,
- remote code execution
- rce
- (and 12 more)
- 0 replies
- 6 views
-
Get this Dynamic 2022 Data & IT Security Training Bundle at 97% off
By News Staff,
- neowin deals
- cyber security
- (and 4 more)
- 0 replies
- 6 views
-
- 8 replies
- 1,906 views
-
Question
generalt
I'm trying to run a query to update table xcodes. xcodes has two columns: codes and status. I want to update the status of the code contained in $code to 1.
When I run the query, I get an error telling me that the code (in the variable $code) is an unknown column! The column is codes, not $code.
I must have my syntax wrong. I've tried putting $code in brackets {$code} to no avail. What am I doing wrong?
Link to comment
Share on other sites
3 answers to this question
Recommended Posts