MySQL Query vs Procedure Issue -


alright, one's got me baffled...

the following query, runs perfectly:

select `longtitle`, `keywords`, `description`, `templateid`, `content` `content`    `published` = 1 ,   ((`siteid` = siteid) , (`linkalias` = alias)) 

when set siteid 24 , alias '', when attempt records in stored procedure, returns returns record (that should siteid 24, if switch siteid 25

what gives?

fixed it... it's because siteid parameter same name field checking against


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -