php - mySQL stored procedure not returning the value it should -


any idea why:

create definer = `root` @`%` procedure `geteventdata` (in id int)  begin   select      *        `event`    `id` = id ; end $$ 

returns every row in event table when there single record id (which primary key) 4?

just else has same question aware, apparently can't use parameter same name column you're checking.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -