mattgleeson Posted January 8, 2007 Share Posted January 8, 2007 HiI use prepared statements with the mysqli extension for all my database calls. I have recently implemented smarty in my app and am having trouble looping over a result set returned using prepared statements. it seems that when using prepared statements the result set cannot be returned as an array and must instead always be bound to php variables. How then do I loop over a result set using bound variables with smarty's <section> tag? Am I right in saying the <section> tag only works with an array set?CheersMatt Quote Link to comment https://forums.phpfreaks.com/topic/33309-mysqli-prepared-statements-and-smarty-new/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.