SyntaxFix
Write A Post
Hire A Developer
Questions
use this
SELECT weight INTO @x FROM p_status where tcount=['value'] LIMIT 1;
tested and workes fine...