Welcome Guest, Not a member yet? Register   Sign In
Dynamic database selection
#3

[eluser]cpass78[/eluser]
Thanks for the response, That looks like it will work but i just kept it simple with
Code:
$select = @mysql_select_db("study_".$this->studycode);
        if ($select){
            echo "true";
        }else{
            echo "false";
        }

May or may not be a "proper way way to do it but it works for the time being.

Thank you again!


Messages In This Thread
Dynamic database selection - by El Forum - 12-01-2010, 12:02 PM
Dynamic database selection - by El Forum - 12-01-2010, 12:31 PM
Dynamic database selection - by El Forum - 12-01-2010, 12:45 PM
Dynamic database selection - by El Forum - 12-01-2010, 03:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB