Main Page | Namespace List | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

trivialCmdLine.php

Go to the documentation of this file.
00001 <?php 00002 require_once( "commandLine.inc" ); 00003 print "DB name: $wgDBname\n"; 00004 print "DB user: $wgDBuser\n"; 00005 print "DB password: $wgDBpassword\n"; 00006 00007 $res = wfQuery( "SELECT MAX(cur_id) as m FROM cur", DB_READ ); 00008 $row = wfFetchObject( $res ); 00009 print "Max cur_id: {$row->m}\n"; 00010 00011 ?>

Generated on Tue Jun 29 23:40:07 2004 for Mediawiki by doxygen 1.3.7