MySQLi - declaring variable after bind_param?
Posted
by Kerry
on Stack Overflow
See other posts from Stack Overflow
or by Kerry
Published on 2010-06-02T20:09:05Z
Indexed on
2010/06/02
20:14 UTC
Read the original article
Hit count: 144
This may be a completely dumb question, but I've seen a couple examples declaring the variables AFTER putting them in bind_param:
http://devzone.zend.com/article/686
I've never seen this done before and all my programming knowledge says I should define them before hand. Is this a valid/preferred way?
© Stack Overflow or respective owner