/ Published in: PHP
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
$db_url = 'mysqli://user:pass@localhost/dbname_dev';
} else {
$db_url = 'mysqli://user:pass@localhost/dbname_live';
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                