View Full Version : Passing a $POST variable to an associative array from an SQL query

11-07-2011, 02:59 AM
I can't seem to find what I need to solve this so here is my question to you all:

I am trying to take a $POST variable and pass it into an SQL query, then take the output and work with it as an associative array. I think the script is stopping at the query because the variable I am setting is coming back NULL when I do a var_dump on it.

What do you think is the best way to do this?

Old Pedant
11-07-2011, 03:20 AM
Show some code.

We can't help you debug via our crystal balls because the ethereal net is down for maintenance.