Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
I have no class (opinion)
Results 1 to 2 of 2

Thread: I have no class (opinion)

  1. #1
    Mentor coltrane's Avatar
    Join Date
    May 2001
    Location
    North Carolina
    Posts
    1,390

    I have no class (opinion)

    Im creating this INC file and I want to place all of my database access functions in it, and Im trying to justify creating a large class for all of my dB functionality.
    Why not just have a lot of functions?

  2. #2

    Re:I have no class (opinion)

    I had the same question a few months back. Really, functions are probably better in this case. You can run the conect function in the session holding include and use your own query, add, remore, update, etc functions throughout your scriptss.

Similar Threads

  1. results of my OS class
    By ph34r in forum General Chat
    Replies: 0
    Last Post: 12-17-2003, 04:57 PM
  2. BS in CS and having to take a Unix class
    By Rastar in forum Linux - General Topics
    Replies: 2
    Last Post: 07-10-2003, 11:45 PM
  3. Need an opinion
    By datamike in forum Linux - General Topics
    Replies: 6
    Last Post: 11-29-2002, 07:52 PM
  4. Your opinion on marrige?
    By jmcook in forum General Chat
    Replies: 32
    Last Post: 02-11-2002, 03:04 AM
  5. class
    By seamonkey in forum General Chat
    Replies: 4
    Last Post: 08-23-2001, 11:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •