Fixed my php problem!

Oct 28, 2008 22:59

So I fixed that problem I mentioned I was having on the Runic Systems site (see 3 posts previous). Guess what the problem was? Turns out that when you're running a SELECT, or other information returning query, you have to run $stmt->store_result() before you can query $stmt->num_rows for a valid result. The wording in the documentation was pretty confusing-- at least to me. However, someone pointed me to the right place (via a php bug and someone finally posting something useful on one of my forum threads requesting help).

This site's architecture is so freaking awesome. Thank goodness for experience using MVC coding techniques. This one's going to be about 100x easier to maintain and build on than my first site.


website

Previous post Next post
Up