Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
2 answers
189 views

pset7: query problem

When I try these with query function it is giving me an error: query("SELECT * FROM users WHERE username LIKE %?%", $_POST['username']); query("SELECT * FROM users WHERE username LIKE '%?%'", $_POST['...
Hussain Noor Mohamed's user avatar
0 votes
1 answer
211 views

pset7 unknown column in where clause

This throws an error saying YHOO is an unknown column...I thought 'symbol' was the column name in this query? $id = 6; $symbol = "YHOO"; $shares_query = query("SELECT shares FROM portfolio WHERE id = ...
SeanIvins's user avatar