php - SQL query not providing results -


this question exact duplicate of:

hoping can figure out.

this sqlfiddle shows construction on db/query: http://sqlfiddle.com/#!9/2667ba/1/0
, same schema modified query can't figure out why doesn't show results: http://sqlfiddle.com/#!9/6bb16/1/0

question being why doesn't second 1 show same results first?

i need reference rows 'company' , 'newcost' need reference 'raiseby', should difference in price between maximum cost of brand/company , users maximumbid - company is.

i want echo within loop let user know company/newcost fell within parameters companies fell short, , display difference in price (which how user need increase maximumbid use company).

when removed $current_user->user_login reference in 2nd jsfiddle , hardcoded 'caseys' username, query appeared work. suggests me wrong inline replacement @ runtime.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -