Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Nov 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Passing a $POST variable to an associative array from an SQL query

    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?

  • #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,151
    Thanks
    80
    Thanked 4,559 Times in 4,523 Posts
    Show some code.

    We can't help you debug via our crystal balls because the ethereal net is down for maintenance.
    An optimist sees the glass as half full.
    A pessimist sees the glass as half empty.
    A realist drinks it no matter how much there is.


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •