-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
WordPress-Theme Twenty Twenty Four-customizing: how to do that - a Gutenberg special question...
By thedhubs,
- 1 answer
- 1,785 views
-
- 0 replies
- 12 views
-
- 3 answers
- 5,116 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
- 18 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
- 12 views
-
Question
generalt
I have a table with two columns: symbol and company_name. I retrieve the symbol from the url (e.g., .../showco.php?co=RSKIA). Then I want to go to the entry where the symbol matches that in the url (in this case, "RSKIA") and display the name of the company that has that symbol.
I get the following error:
Unknown column 'RSKIA' in 'where clause'
Query: SELECT * FROM CompanyList WHERE symbol=RSKIA
I think this is a pretty basic problem. What am I doing wrong?
Link to comment
https://www.neowin.net/forum/topic/1087985-phpmysql-retrieving-data-from-a-single-row-error-unknown-column/Share on other sites
4 answers to this question
Recommended Posts