Quote from: bluespark at Aug 20, 2013, 08:27 AMHi Jean
Not sure if I can help you, but what do you have in
[[!get_db_table]]
Hey Bluespark,
[[!get_db_table]] just sets the DB table depending on what's in the URL. This is what my URL looks like:
http://www.site.com?table=ab&prod=123 so all the [[!get_db_table]] snippet does is get take the table variable from the URL and sets the actual DB table name depending on the URL variable. I don't think the error comes from there because if you look at the message that shows up, the table name comes up fine.
However, I want to say that the part_number is where there's an issue, maybe in the &where=`` JSON clause, as ambaxter mentions. In this case, the [[!get_product_id]] snippet does the same thing as [[!get_db_table]]: it pulls up the product number and spits it back out, but there might be something funky going on in my JSON.
It's still showing up weird.