Jump to content

mysqli prepared statements and Smarty (new)


mattgleeson

Recommended Posts

Hi
I 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?

Cheers

Matt

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.