From: Richard L. <ce...@l-...> - 2009-12-13 15:48:23
|
http://php.net/odbc_connect On Wed, December 9, 2009 3:29 pm, Roderick D. Thomas wrote: > Wondering how I should adjust the format below to connect to my work > ODBC5100 database through PHP5. Ideally, I would like to extract data > to create tables in MySQL. I believe it will allow for more > efficiency. > > ? > $dbserver = "localhost"; > $dbuser = "xxxxxx"; > $dbpass = "xxxxxx"; > $dbdb = "xxxxxx"; > mysql_connect($dbserver, $dbuser, $dbpass); > mysql_select_db($dbdb); > ?> > ------------------------------------------------------------------------------ > Return on Information: > Google Enterprise Search pays you back > Get the facts. > http://p.sf.net/sfu/google-dev2dev > _______________________________________________ > chiPHPug-discuss mailing list > chi...@li... > https://lists.sourceforge.net/lists/listinfo/chiphpug-discuss > -- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch |