Jump to content

deciblelovechild

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Posts posted by deciblelovechild

  1. hi i need some help with this,

     

    i\'ve done some research on this and the only thing i came up with is that dynamic sql is the only way to use a variable for table name. Is this true??? If so, how would you do that with the following code?

     

    $db = $_SESSION[\'User\'];

    $db = $db . \"_buddies\";

     

    $online_query = \"select buddy_name from $db WHERE online= \'n\'\";

     

    any help is truly appreciated. thanks in advance....

     

    dlc

×
×
  • 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.