[Database class] Questions and Answers

Paul S. Wang pwang at cs.kent.edu
Wed Oct 26 17:05:05 EDT 2011


Dear DB Class,

Q.  What value do I use to insert into an AUTO_INCREMENT column?

A.  NULL

Q.  When I execute the php require($file) statement a second time,
    I got an error.  Why?

A.  It is an error to include/require any php file in your php program
    more than once.   To avoid such a mistake,  use require_once($file).

Paul
-- 
==============================================================================
 Paul S. Wang (王士弘)                      Email: pwang at cs.kent.edu            
 Dept. of Computer Science, Kent State U.   Tel: (330) 672-9051
 Kent, Ohio, USA 44242-0001                 http://www.cs.kent.edu/~pwang/ 
==============================================================================


More information about the Dbclass mailing list